码迷,mamicode.com
首页 >  
搜索关键字:webdriver    ( 2418个结果
百度搜索设置下拉框的操作
Selenium Webdriver百度搜索设置,代码参照虫师selenium_webdriver(python)第一版中百度搜索框设置的代码#coding:utf-8from selenium import webdriverimport timedr=webdriver.Ie()dr.get("...
分类:其他好文   时间:2014-09-30 11:49:22    阅读次数:189
webdriver调用ie浏览器报错
webdriver调用ie浏览器报错:org.openqa.selenium.NoSuchWindowException: Unable to find element on closed解决方法:System.setProperty("webdriver.ie.driver", "C:\\User...
分类:Web程序   时间:2014-09-24 23:18:37    阅读次数:293
Selenium WebDriver使用IE浏览器(转)
转自:http://smilejay.com/2012/09/selenium-webdriver-with-ie/如下的Java代码是打开IE浏览器,然后在Google中搜索“smilejay”关键字。[Copy to clipboard]View CodeJAVA1234567891011121...
分类:Web程序   时间:2014-09-24 23:04:37    阅读次数:348
webdriver调用chrome浏览器
System.setProperty("webdriver.chrome.driver", "D:/webDriver/chromedriver.exe"); System.setProperty("webdriver.chrome.bin", "C:/Program Files (x...
分类:Web程序   时间:2014-09-24 22:28:27    阅读次数:693
WebDriver 调用ie浏览器报错(转)
报错信息如下:Exceptioninthread"main"org.openqa.selenium.remote.UnreachableBrowserException:Couldnotstartanewsession.Possiblecausesareinvalidaddressoftheremo...
分类:Web程序   时间:2014-09-24 22:26:27    阅读次数:394
selenium webdriver 学习总结-元素定位
webdriver提供了丰富的API,有多种定位策略:id,name,css选择器,xpath等,其中css选择器定位元素效率相比xpath要高些,使用id,name属性定位元素是最可靠,效率最高的一种办法。1、工具选择:在我们开发测试脚本的过程中各个浏览器给我们也提供了方便定位元素的工具,我比较喜...
分类:Web程序   时间:2014-09-24 10:57:26    阅读次数:304
Selenium WebDriver 处理cookie
selenium webdriver 操作cookie实现简便登陆
分类:Web程序   时间:2014-09-22 01:30:01    阅读次数:395
selenium webdriver 右键另存为下载文件(结合robot and autoIt)
selenium rightclick http://forumsqa.com/question/how-to-click-the-option-of-the-menu-which-the-right-click-pop-up/
分类:Web程序   时间:2014-09-13 01:54:34    阅读次数:387
Robot Framework自动化测试(三)---Selenium API
Robot Framework Selenium(webdriver) API
分类:Windows程序   时间:2014-09-12 11:52:53    阅读次数:430
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!