扩展了selenium webdriver的功能。

extended-webdrivers的Python项目详细描述


要求:

关于:

在python中扩展selenium webdriver的功能,使用其他方法获取jquery和角调用的状态、更改浏览器的地理位置、直接对元素调用javascript等等。

用法:

from extended_webdrivers import load_driver_from_config, DEFAULT_CONFIG

browser = load_driver_from_config('chrome', DEFAULT_CONFIG)
browser.get('https://angular.io/')

browser.wait_for_stable()  # Waits for Angular and jQuery to load before continuing.

browser.set_cordinates(90.0000, 135.0000)  # Sets the browser's geolcation.

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
与ReentrantLock相比,java ReentrantReadWriteLock的性能非常差   java如何使用Maven Android Studio正确导入?   安卓将ADB添加到我的Java PC应用程序   反射Java getDeclaredConstructor失败,来自JUnit的NoSuchMethodException   JSP上siteedit标记库的java替代   JavaSpring环境概要文件和JPA   java中是否有一个类似于StringBuilder的类,唯一的区别是它具有固定的长度?   JavaMathContext。小数点32 vs MathContext。小数点64,使用哪一个,为什么?   java使用spring在Ibm Websphere MQ中实现重试逻辑   java调用SpriteBatch。开始()和结束()   java有一种从文本中读取文本的方法。文件,并将其设置为pom中的maven属性。xml专家?   java让sitemesh使用struts2   Java Swing:在现有窗口上定位对话框   使用带有MemSql的JPA本机查询的java Select json列