摘要:
classselenium.webdriver.support.color.Color(red,green,blue,alpha=1)Bases:objectColor conversion support classExample:from selenium.webdriver.support.c... 阅读全文
摘要:
classselenium.webdriver.support.select.Select(webelement)deselect_all()Clear all selected entries. This is only valid when the SELECT supports multipl... 阅读全文
摘要:
classselenium.webdriver.remote.webelement.WebElement(parent,id_)Bases:objectRepresents a DOM element.Generally, all interesting operations that intera... 阅读全文
摘要:
The WebDriver implementation.classselenium.webdriver.remote.webdriver.WebDriver(command_executor='http://127.0.0.1:4444/wd/hub',desired_capabilities=N... 阅读全文
摘要:
classselenium.webdriver.chrome.webdriver.WebDriver(executable_path='chromedriver',port=0,chrome_options=None,service_args=None,desired_capabilities=No... 阅读全文
摘要:
classselenium.webdriver.firefox.webdriver.WebDriver(firefox_profile=None,firefox_binary=None,timeout=30,capabilities=None,proxy=None)Bases:selenium.we... 阅读全文
摘要:
The Utils methods.selenium.webdriver.common.utils.free_port()Determines a free port using sockets.selenium.webdriver.common.utils.is_connectable(port)... 阅读全文
摘要:
The Desired Capabilities implementation.classselenium.webdriver.common.desired_capabilities.DesiredCapabilitiesBases:objectSet of default supported de... 阅读全文
摘要:
These are the attributes which can be used to locate elements. See theLocating Elementschapter for example usages.The By implementation.classselenium.... 阅读全文
摘要:
The Keys implementation.classselenium.webdriver.common.keys.KeysBases:objectSet of special keys codes.ADD= u'\ue025'ALT= u'\ue00a'ARROW_DOWN= u'\ue015... 阅读全文