码迷,mamicode.com
首页 >  
搜索关键字:selenium webdriver    ( 6806个结果
WebDriver API——第4部分Alerts
The Alert implementation.classselenium.webdriver.common.alert.Alert(driver)Bases:objectAllows to work with alerts.Use this class to interact with aler...
分类:Windows程序   时间:2015-04-29 23:04:21    阅读次数:176
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——第2部分Exceptions
Exceptions that may happen in all the webdriver code.exceptionselenium.common.exceptions.ElementNotSelectableException(msg=None,screen=None,stacktrace...
分类:Windows程序   时间:2015-04-29 23:01:10    阅读次数:508
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
webDriver API——第7部分Desired Capabilities
The Desired Capabilities implementation.classselenium.webdriver.common.desired_capabilities.DesiredCapabilitiesBases:objectSet of default supported de...
分类:Windows程序   时间:2015-04-29 22:58:35    阅读次数:225
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
Selenium等待某个元素出现之隐式等待
找不到元素这个问题困扰了两天了,一直怀疑是页面div层次太多,定位不准确。于是就从table开始到最后一层精确定位,仍然找不元素。怎么办,在网上搜索答案,说是可以加个隐式试试,于是在执行前加了一句等待driver.manage().timeouts().implicitlyWait(50, Time...
分类:其他好文   时间:2015-04-28 13:39:10    阅读次数:210
AndroidDriver原理初步--Android自动化测试学习历程
主要讲解内容及笔记:一、AndroidDriver核心原理对上图的解析:PC端的端口通过adb,将android版的Remote Server的apk push到手机上,然后跟手机端的Remote Server进行通信,手机端的Remote Server与浏览器进行通信,通过WebDriver注入j...
分类:移动开发   时间:2015-04-28 11:36:50    阅读次数:177
Selenium2Library使用Remote功能(转载并更新)
在selenium2library库的open browser中,除了我们常用的url,browser外,还有几个不常用的参数。如:remote_url的用法1.下载selenium-server-standalone-XXXX.jar包https://code.google.com/p/selen...
分类:其他好文   时间:2015-04-27 19:44:11    阅读次数:138
selenium + python 怎样才能滚到页面的底部?
可以用 execute_script方法来处理这个。 调用原生javascript的API,这样你想滚到哪里就能滚到哪里。下面的代码演示了如何滚到页面的最下面:driver.execute_script("window.scrollTo(0, document.body.scrollHeight);...
分类:编程语言   时间:2015-04-27 13:01:20    阅读次数:1839
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!