v5.0.0

mherrmann/heliumv5.0.0Dec 8, 2023by mherrmann

AI Summary

Switched to Selenium Manager for webdriver management and bumped the Selenium dependency to version 4.16.

Key Highlights

  • Switched to Selenium Manager for webdriver management
  • Bumped Selenium to version 4.16+
  • Removed support for `capabilities` parameter in `start_chrome`

Breaking Changes

  • The `start_chrome` function no longer accepts a `capabilities` parameter. Users must use `set_capability` on the `Options` object instead.

New Features

  • Selenium Manager integration
  • Selenium 4.16+ support

Full Release Notes

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)
```