Skip to content

Releases: mherrmann/helium

Switch to Selenium Manager for webdriver management

08 Dec 06:49
054c254
Compare
Choose a tag to compare

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)

Switch from Selenium 3 to 4

15 Nov 05:49
ea97005
Compare
Choose a tag to compare

Fix: Helium sometimes "found" too many elements

27 Sep 12:59
60d6611
Compare
Choose a tag to compare

See the new automated test test_find_all_nested_search_areas for an example of how it was broken.

Fix caching of chromedriver in start_chrome(...)

03 Aug 16:29
c4d7998
Compare
Choose a tag to compare

Since release 3.2.4, start_chrome(...) always used to download chromedriver again.

Fix error when starting Chrome

31 Jul 13:11
821b16c
Compare
Choose a tag to compare

The error was

get_chrome_driver.exceptions.VersionError: Unable to find a ChromeDriver version for the installed Chrome version

It was caused by our dependency for webdriver management not supporting current Chrome versions.

The drawback is that the new webdriver management solution doesn't cache properly. See SergeyPirogov/webdriver_manager#582.

Fix: find_all() sometimes returned elements twice

17 Jul 12:40
7cc6ea2
Compare
Choose a tag to compare

This could happen when iframes were involved and changed during Helium's search process.

Fix an error in start_chrome

05 Jul 14:27
1de8dec
Compare
Choose a tag to compare

There was an error when no compatible chromedriver was on PATH.

Download chromedriver automatically

05 Jul 14:15
1a4f424
Compare
Choose a tag to compare

Previous releases of Helium shipped with the chromedriver binaries, which are necessary for starting and controlling Chrome. But these binaries got outdated very quickly. This release switches to an approach that automatically downloads a matching chromedriver when none is installed on the system.

Kudos to @zaironjacobs for the nice library that makes this possible.

Fix urllib3 error

03 Jul 06:30
054346f
Compare
Choose a tag to compare

start_chrome(...) failed with the following error:

ValueError: Timeout value connect was <object object at 0x...>, but it must be an int, float or None.

This happened because Selenium 3 depends on urllib3, but is incompatible with urllib3 >= 2.

Add `profile` to start_firefox(...)

20 Nov 07:59
dd18851
Compare
Choose a tag to compare