码迷,mamicode.com
首页 >  
搜索关键字:Selenium css定位    ( 6592个结果
selenium-Navigating
The first thing you’ll want to do with WebDriver is navigate to a link. The normal way to do this is by callinggetmethod:driver.get("http://www.google...
分类:其他好文   时间:2015-05-03 11:53:05    阅读次数:216
selenium-Getting Started
1.1. Simple UsageIf you have installed Selenium Python bindings, you can start using it from Python like this.from selenium import webdriverfrom selen...
分类:其他好文   时间:2015-05-03 11:50:36    阅读次数:179
CSS定位
CSS position 属性通过使用position 属性,我们可以选择 4 种不同类型的定位,这会影响元素框生成的方式。position 属性值的含义:static元素框正常生成。块级元素生成一个矩形框,作为文档流的一部分,行内元素则会创建一个或多个行框,置于其父元素中。relative元素框偏...
分类:Web程序   时间:2015-04-30 17:29:33    阅读次数:182
基于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——第1部分
The API definitions in this chapter shows the absolute location of classes. However the recommended import style is as given below:from selenium impor...
分类:Windows程序   时间:2015-04-29 23:01:50    阅读次数:137
webDriver API——第8部分Utilities
The Utils methods.selenium.webdriver.common.utils.free_port()Determines a free port using sockets.selenium.webdriver.common.utils.is_connectable(port)...
分类:Windows程序   时间:2015-04-29 23:00:50    阅读次数:195
python + selenium <一>
python 安装python 下载地址:http://python.org/getit/ez_setup.py下载地址:https://pypi.python.org/packages/source/e/ez_setup/ez_setup-0.9.tar.gz环境变量配置:path C:\P...
分类:编程语言   时间:2015-04-28 20:40:16    阅读次数:138
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!