Skip to content

Switch to Selenium Manager for webdriver management

Compare
Choose a tag to compare
@mherrmann mherrmann released this 08 Dec 06:49
· 25 commits to master since this release
054c254

This bumps Selenium from < 4.10 to >= 4.16, which introduces a backwards-incompatible change: start_chrome(...) used to take a capabilities parameter. This is no longer supported by Selenium. Instead, you have to use set_capability(...) as follows:

from helium import start_chrome
from selenium.webdriver.chrome.options import Options

options = Options()
options.set_capability('goog:loggingPrefs', {'performance': 'ALL'})
start_chrome(options=options)