上一页 1 ··· 68 69 70 71 72 73 74 75 76 ··· 89 下一页
摘要: 1、安装 geckodriver https://github.com/mozilla/geckodriver/releases geckodriver-v0.31.0-win64.zip 解压将其放到环境变量里配置过的路径里的任一个路径,这样运行时就可以自动查找到。 注意:geckodriver只 阅读全文
posted @ 2022-05-28 18:47 栖木hy 阅读(140) 评论(0) 推荐(0)
摘要: selenium安装 1、Selenium简介 Selenium是一个用于Web应用程序测试的工具。Selenium测试直接运行在浏览器中,就像真正的用户在操作一样。支持的浏览器包括IE(7, 8, 9, 10, 11),Mozilla Firefox,Safari,Google Chrome,Op 阅读全文
posted @ 2022-05-28 18:11 栖木hy 阅读(4491) 评论(0) 推荐(0)
摘要: <Grid Margin="6"> <ListBox> <!--ItemsPanel--> <ListBox.ItemsPanel> <ItemsPanelTemplate> <StackPanel Orientation="Horizontal"></StackPanel> </ItemsPane 阅读全文
posted @ 2022-05-27 15:39 栖木hy 阅读(392) 评论(0) 推荐(0)
摘要: 控件的宽度、高度都跟随着Window的长度和宽度 <Window x:Name="window" x:Class="WpfApplication1.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation 阅读全文
posted @ 2022-05-25 15:56 栖木hy 阅读(1745) 评论(0) 推荐(0)
摘要: System.ArgumentException:'Invalid argument: geometry1 and geometry2 must have equivalent spatial references.' 参数无效:几何图形必须具有等价的空间引用。 阅读全文
posted @ 2022-05-25 13:26 栖木hy 阅读(552) 评论(0) 推荐(0)
摘要: 调用线程无法访问此对象,因为另一个线程拥有该对象问题,这种情况往往很常见,比如:说Timers和DoubleAnimation也就是计时器和动画一起使用就会出来这个错误。 // 其实加上一句话就行了,也就是设置线程的有优先级,异步 this.Dispatcher.Invoke(new Action( 阅读全文
posted @ 2022-05-25 08:58 栖木hy 阅读(359) 评论(0) 推荐(0)
摘要: Timer定时器,如果没有stop,是会按指定间隔时间一直重复执行的, 所以如果只想执行一次,必须得关闭。 System.Timers.Timer t = new System.Timers.Timer(10000);//实例化Timer类,设置间隔时间为10000毫秒; t.Elapsed += 阅读全文
posted @ 2022-05-25 08:56 栖木hy 阅读(1801) 评论(0) 推荐(0)
摘要: 用JS生成随机验证码(超简单代码) ~ 阅读全文
posted @ 2022-05-21 22:59 栖木hy 阅读(378) 评论(0) 推荐(0)
摘要: PyPDF2模块文件写入报错问题解决,UnicodeEncodeError: 'latin-1' codec can't encode characters in position 8-10: ordinal not in range(256) 阅读全文
posted @ 2022-05-17 16:09 栖木hy 阅读(634) 评论(0) 推荐(0)
摘要: 代码如下: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" conte 阅读全文
posted @ 2022-05-16 19:35 栖木hy 阅读(61) 评论(0) 推荐(0)
上一页 1 ··· 68 69 70 71 72 73 74 75 76 ··· 89 下一页