Seleniumpm

Latest version: v2.13.0

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

Scan your dependencies

Page 1 of 5

2.13.0

-------------------

**New Features:**

- Removed snapshot feature

**Fixed:**

2.12.2

-------------------

**New Features:**

- Implementing a *wait_for_page_load* (Default: False) on Webpage *open()*, *refresh()*, and *reload()* operations

**Fixed:**

- Webpage.refresh() and Webpage.reload() did not return self

2.12.1

-------------------

**New Features:**

**Fixed:**

- Turning off snapshot feature during is_page() and is_widget_loaded() operations. These operations often time trigger TimeoutException but it should not trigger a snapshot to be taken.

2.12.0

-------------------

**New Features:**

- Implementing to_json() and to_json_pp() for Element, Widget, Locator, and Webpage types
- Adding additional wait_for_widget_load() timer to calculate load time of a widget
- Adding more logging across seleniumpm. Most are WARNING levels, so this will need to be set accordingly
- Implemented a is_widget_loaded() for all Widget types. This also includes both Panel and IFrame types
- Added ability to enumerate over all elements defined on a webpage and/or widget, and then return all elements that failed their checks for presence and visibility. The ability is built directly into *wait_for_page_load()*, *validate()*, and *wait_for_widget_load()*. This check is controlled via parameter and global selenium config *failfast_check_element* (Default: True). This is set to True by default for old behavior of throwing exception on the first element that is not present/visible. Setting this to False will enable this feature and will check each element before raising the expected TimeoutException with a message containing all the elements that failed. *NOTE: Depending on the timeout, this could potentially be a compounded amount of time before the method returns, hence why this feature is disabled by default.*

**Fixed:**

- Element.dict() had an issue if the locator was None
- Widget.validate() force_check_visibility was accidentally set to True when expected to be False. This ended up causing unexpected conditions in a test where some elements were marked as invisible, but validate() was still checking for visibility

2.11.8

-------------------

**New Features:**

- For validate() and wait_for_page_load() operations, adding the meta-data for the Class and attribute name of the element that is being checked. This is so that if there is a TimeoutException, we can also report where we can find this element to fix in the code
- Add Logger for better debugging capability for testing purposes.

**Fixed:**

2.11.7

-------------------

**New Features:**

**Fixed:**

- Moving click_index() from Clickable to Element type.

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.