码迷,mamicode.com
首页 >  
搜索关键字:selenium webdriver    ( 6806个结果
基于Python ddt, selenium数据驱动测试实例1
基于Python ddt, selenium数据驱动测试实例1...
分类:编程语言   时间:2015-04-30 14:13:48    阅读次数:2055
selenium处理模态对话框
Selenium处理模态对话框问题描述: 点击按钮出现一个模态对话框,代码会卡在click这步不继续执行。原因是Selenium目前没有提供对模态对话框的处理。 解决方案: 将click出现弹出框这步用JS代替执行,然后切换到弹出窗就可以继续操作页面元素了。 测试地址:https://develo....
分类:其他好文   时间:2015-04-30 10:26:19    阅读次数:126
webDriver API——第14部分Color Support
classselenium.webdriver.support.color.Color(red,green,blue,alpha=1)Bases:objectColor conversion support classExample:from selenium.webdriver.support.c...
分类:Windows程序   时间:2015-04-29 23:27:16    阅读次数:223
webDriver API——第9部分Firefox WebDriver
classselenium.webdriver.firefox.webdriver.WebDriver(firefox_profile=None,firefox_binary=None,timeout=30,capabilities=None,proxy=None)Bases:selenium.we...
分类:Windows程序   时间:2015-04-29 23:27:08    阅读次数:227
webDriver API——第10部分Chrome WebDriver
classselenium.webdriver.chrome.webdriver.WebDriver(executable_path='chromedriver',port=0,chrome_options=None,service_args=None,desired_capabilities=No...
分类:Windows程序   时间:2015-04-29 23:25:05    阅读次数:201
webDriver API——第11部分Remote WebDriver
The WebDriver implementation.classselenium.webdriver.remote.webdriver.WebDriver(command_executor='http://127.0.0.1:4444/wd/hub',desired_capabilities=N...
分类:Windows程序   时间:2015-04-29 23:24:40    阅读次数:305
webDriver API——第12部分WebElement
classselenium.webdriver.remote.webelement.WebElement(parent,id_)Bases:objectRepresents a DOM element.Generally, all interesting operations that intera...
分类:Windows程序   时间:2015-04-29 23:23:57    阅读次数:322
webDriver API——第15部分Expected conditions Support
classselenium.webdriver.support.expected_conditions.alert_is_presentBases:objectExpect an alert to be present.classselenium.webdriver.support.expected...
分类:Windows程序   时间:2015-04-29 23:18:18    阅读次数:281
WebDriver API——第3部分Action Chains
The ActionChains implementation,classselenium.webdriver.common.action_chains.ActionChains(driver)Bases:objectActionChains are a way to automate low le...
分类:Windows程序   时间:2015-04-29 23:07:15    阅读次数:255
webDriver API——第13部分UI Support
classselenium.webdriver.support.select.Select(webelement)deselect_all()Clear all selected entries. This is only valid when the SELECT supports multipl...
分类:Windows程序   时间:2015-04-29 23:04:15    阅读次数:136
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!