Helium

Latest version: v5.1.0

Safety actively analyzes 685525 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

5.1.0

See https://github.com/mherrmann/helium/commit/2100561745de5236b585665ef8ed1271d8c0d771.

This is a minor version upgrade (5.0.... -> 5.1....) because the new implementation may find slightly different text fields.

5.0.6

It was introduced in v5.0.5.

5.0.5

5.0.4

Please see the newly added test for details.

5.0.3

It sometimes happened. Now, `wait_until(...)` handles this error gracefully by just waiting a little more.

5.0.2

Traceback (most recent call last):
File "<console>", line 1, in <module>
File "helium/__init__.py", line 172, in write
_get_api_impl().write_impl(text, into)
File "helium/_impl/__init__.py", line 36, in f_decorated
result = f(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "helium/_impl/__init__.py", line 55, in f_decorated
return f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "helium/_impl/__init__.py", line 145, in write_impl
self._handle_alerts(
File "helium/_impl/__init__.py", line 170, in _handle_alerts
return no_alert(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "helium/_impl/__init__.py", line 156, in _write_no_alert
self._manipulate(into, _write)
File "helium/_impl/__init__.py", line 280, in _manipulate
driver.last_manipulated_element = gui_or_web_elt.perform(action)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "helium/_impl/__init__.py", line 622, in perform
result = self._perform_no_wait(action)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "helium/_impl/__init__.py", line 629, in _perform_no_wait
for bound_gui_elt_impl in self.find_all():
File "helium/_impl/__init__.py", line 593, in find_all
for occurrence in self.find_all_occurrences():
File "helium/_impl/__init__.py", line 691, in find_all_occurrences
for occurrence in self._find_all_in_curr_frame():
File "helium/_impl/__init__.py", line 712, in _find_all_in_curr_frame
for occurrence in self.find_anywhere_in_curr_frame():
File "helium/_impl/__init__.py", line 1037, in find_anywhere_in_curr_frame
for bound_gui_elt_impl in element.find_anywhere_in_curr_frame():
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "helium/_impl/__init__.py", line 913, in find_anywhere_in_curr_frame
result = list(self._filter_elts_belonging_to_labels(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "helium/_impl/__init__.py", line 950, in _filter_elts_belonging_to_labels
labels_to_elts = self._ensure_at_most_one_label_per_elt(labels_to_elts)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "helium/_impl/__init__.py", line 993, in _ensure_at_most_one_label_per_elt
self._retain_closest(elts_to_labels)
File "helium/_impl/__init__.py", line 998, in _retain_closest
closest = self._find_closest(pivot, elts)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "helium/_impl/__init__.py", line 1012, in _find_closest
return sorted(distances)[0][1]
^^^^^^^^^^^^^^^^^
TypeError: '<' not supported between instances of 'WebElementWrapper' and 'WebElementWrapper'

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.