Qweb

Latest version: v3.3.0

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

Scan your dependencies

Page 1 of 6

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

3.0.0

Not secure
Added
- OpenBrowser keyword to support Selenium 4.10 and above
- Service class taken into use
- Support for automatic driver/browser management via Selenium Manager (if drivers are not in PATH)
- Chrome: Support for specific **browser_version** (downloads Chrome for Testing if needed)
- BrowserStack/mobile integration to support OS Version
- Added "Introduction" section to keyword documentation

Changed
- OpenBrowser kw documentation updated/more examples added, including BrowserStack usage and local android device usage.
- DragDrop to support also elements that do not have "draggable" attribute set
- Re-used variable "url" renamed in VerifyLinks
- Security: bumped opencv and Pillow versions
- Updated readme.md

Fixed
- `SetConfig HandleAlerts False` was not raising exceptions
- SetConfig argument types modified in order to avoid automatic type conversion
- This fixes issue of using robot fw format (variable containing list) in `SetConfig RunBefore`

Removed
- IE Support
- Robot Framework 3.2.2 support (4.1.3 is the new minimum)
- Python 3.7 support as it has been [already EOL'd](https://devguide.python.org/versions/) and some security fixes for dependencies are not released for Python 3.7

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.