扩展了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.