The property to get the current instance of Selenium's WebDriver.
py.webdriver -> WebDriver
py.webdriver
py.webdriver()
None
WebDriver - The current instance of Selenium WebDriver that Pylenium is wrapping
Most scenarios won't need this, but it's provided just in case. The biggest reasons to use py.webdriver
access functionality that may not exist in Pylenium
functionality that requires you pass in a WebDriver
Last updated 1 year ago
# get WebDriver's current Capabilities caps = py.webdriver.capabilities
# function requires a WebDriver actions = ActionChains(py.webdriver)