Qweb

Latest version: v3.3.1

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

Scan your dependencies

Page 1 of 7

3.3.1

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.

3.3.0

Added
- Added support for treating color differences as meaningful in *Icon keywords (with **grayscale** argument).
- *Icon keywords support new argument **tolerance**
- Browser version management with **browser_version** added to Firefox and Edge in addition to previously existing Chrome.
- Note that with Edge on Windows local admin rights are needed for install to succeed
- Option to remove newlines from returned value added to GetInputValue (by argument **remove_newlines)

Fixed
- VerifyTable to not break on "special characters" like "[", "]", "*" or "?"
- fix: UploadFile to find inputs of type file when searching with xpath locator
- GetPdfText and GetFileText documentation fixed to match how they actually work
- Fixed examples in VerifyAll docs

Changed
- Refactor: changed version check from deprecated pkg_resources to importlib.metadata
- Pipeline: tests are run in parallel with Pabot
- Pipeline: Test files are served using http server instead of opening static files
- Ruff taken into use as one of pipeline checks / duty
- Removed deprecated methods from unit tests
- CONTRIBUTING.md updated

3.2.1

Fixed

- RunBlock fails with uninformative error message
- GetCellText and GetText not able to get text directly under `<slot>`
- 141
- Anchor coordinates were in some cases taken from parent, not from the element actually containing anchor text
- New typing issue in selenium 4.19
- Bumped Pillow to a version having latest security fixes

3.2.0

Not secure
Added
- Adds "strict mode" to SetConfig [SearchDirection](https://qentinelqi.github.io/qweb/QWeb.html#searchdirection)
- Adds "delay" kwarg support to WriteText
- Adds "partial_match" support to VerifyTable and Click Cell

Fixed
- QWeb tries to inject JQuery to web pages 139
- Let user decide if cookies are logged or not 138
- Clean up unit tests and acceptance tests 90
- Table keywords gave unhelpful error if UseTable was not used
- Many keyword doc fixes

3.1.0

Not secure
Added
- Support for **Robot Framework 7**
- New keywords for handling table column headers:
- **GetColHeaderCount** (Gets the amount of columns)
- **GetColHeader** (Gets all column headers as list or specific column header based on index)
- **VerifyColHeader** (Verifies that column headers includes specific text, optionally in specific position)

Fixed
- Handling of booleans given in string format in OpenBrowser prefs (i.e… "True")

Changed
- Updated workflow actions to newer version
- Bumped lowest allowed Pillow version (security fixes)

3.0.1

Not secure
Fixed
- Browserstack desktop browser names changed to be case insensitive

Removed
- Argument "reuse_service" removed from Safari as it was removed in selenium 4.16

Changed
- Pylint version bumped
- SwitchBrowser will try to focus on previously focused tab in order to bring window to foreground.
- Success depends on os/window manager
- Refactored QWeb/config as functions there were masked by keywords/config.
- This will make it easier to use set_wait_function to override default wait function

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.