Qweb

Latest version: v3.4.2

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

Scan your dependencies

Page 1 of 7

3.4.2

Added
- VerifyElement will highlight found elements too as requested
- Added tests to GetWebelement where all_frames is on and page has multiple frames
- Added check to GetAttribute to avoid errors in case unsupported kwarg "all_frames" is given.

Fixed
- Typing errors with latest mypy in frame.py

Changed
- Removed Python 3.8 from readme and setup.py as it's now in EOL'd.
- Python 3.8 will still work, but it's not tested. Time to upgrade.
- Documentation updates:
- Mention that UseTable needs to be used before other table keywords
- Fix all "\" character escaping issues in generated kw documentation

3.4.1

Added
- Consider texts directly in `<slot>` visible in VerifyText too if they have a visible `<a>` parent.
- We already had this for ClickText. Now both ClickText and VerifyText behave the same way
- This change allows finding texts directly in slot (`<a><slot>Something</slot></a>`) withouth changing visibility settings.

Fixed
- Fixed issue with Icon* keywords where variables could have been left uninitialized in certain cases
- Refactored icon.py: removed all old print statements and replaced them with robot logger

Changed
- Updated table keyword documentation. "/" in coordinate format (text search) is not supported.

3.4.0

Added
- Python 3.12 support
- Bumped scikit-image to a version supporting Python 3.12
- Modified local versioneer.py to support Python 3.12 (for editable installations)
- Added Python 3.12 to pipeline
- Selenium grid / remote browser support (via **remote_url** argument)
- New attribute **all_frames** to GetWebelement. In cases where we return a list of elements, controls if one wants to traverse all frames (True, default) or stop searching to first frame where matching elements are found (False).
- Suppress "Choose search engine" dialog in Chrome

Fixed
- GetTextCount / VerifyTextCount did not traverse through all frames, but stop searching to the frame where first instance of text is found


Changed
- Refactored OpenBrowser to reduce complexity
- VerifyAttribute to internally provide the new argument needed by GetWebElement
- Bumped scikit-image to a version supporting Python 3.12
- Bumped pynput to version 1.7.7
- Bumped lowest allowed version of selenium, requests and setuptools due to security warnings
- Documentation updates for frame related keywords and settings (UseFrame, DefaultDocument, StayInCurrentFrame)
- Documentation updates to OpenBrowser on how to use QWeb with selenium grid

3.3.3

Fixed
- Fixes regression in v3.3.2 which caused *Checkbox keywords to fail if checkbox element is not fully loaded and visible

3.3.2

Fixed
- Added support for non-breakable spaces when searching for text directly inside `<slot>`
- partial_match=False was not correctly handled as boolean in few places
- partial_match was not taken into account at all on ClickCheckbox even if it should have
- Improved **table** keywords documentation regarding the coordinate format

Changed
- Made **//last** argument in GetTableRow case insensitive
- Deps: Made numpy a direct dependency and locked version since opencv does not yet have a release with numpy 2.0 support
- Deps: Bumped minimum allowed version of requests due to security alert
- Deps: Allows more recent versions of pyobjc on Mac

3.3.1

Not secure
Added
- Added support for clicking elements by **ClickText** on the uncommon situation where text is directly on `<slot>` tag and not it's parent or child. By default slots without clickable parent/child are otherwise considered invsible by our visibility check as they have not offsets etc.

Changed
- Changed tests & duty file to support both parallel and serial execution locally and with or without http server.
- Changed Chrome shadow dom case so that it will work with Chrome 125 and lower versions.

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.