
Selenium2
Justin_1011
这个作者很懒,什么都没留下…
展开
-
Selenium+webDriver 启动IE11 浏览器报错“org.openqa.selenium.NoSuchWindowException”
Selenium2+webDriver 启动IE11报错 org.openqa.selenium.NoSuchWindowException: Unable to get browser (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 17 millisec原创 2016-07-07 15:33:45 · 8066 阅读 · 0 评论 -
AutoItX运行报错"com.jacob.com.ComFailException: Can't co-create object"
在java调用AutoItx 时候 加载dll 总是出现下面错误: com.jacob.com.ComFailException: Can't co-create object at com.jacob.com.Dispatch.createInstanceNative(Native Method) at com.jacob.com.Dispatch.(Dispatch.java:9原创 2016-08-16 10:28:43 · 4157 阅读 · 1 评论 -
Selenium 点击button 出现Windows窗口时候Selenium会Hang住!!!
1. 问题描述 使用Selenium webDriver 点击页面一个按钮,出现Print windows窗口,这时候 程序会挂住在Click操作上. 解决办法: 使用线程结合AutoItX.jar去关闭windows窗口,这样Selenium就会继续执行下面的测试脚本. 具体实现代码: // Click the Print button in the Document原创 2016-08-12 17:44:56 · 2637 阅读 · 0 评论 -
Selenium自动化Chrome浏览器 在windows/Mac/Linux下窗口最大化
For MAC or Linux: ChromeOptions chromeOptions = new ChromeOptions(); chromeOptions.addArguments("--kiosk"); driver = new ChromeDriver(chromeOptions); For Windows: ChromeOptions chromeOpti原创 2017-04-12 14:44:48 · 8596 阅读 · 4 评论