Skip to content

Releases: qentinelqi/qweb

[3.4.2] - 2024-10-23

23 Oct 11:05
Compare
Choose a tag to compare

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] - 2024-09-14

14 Sep 10:15
Compare
Choose a tag to compare

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] - 2024-08-22

22 Aug 07:43
Compare
Choose a tag to compare

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

[3.3.3] - 2024-06-28

28 Jun 06:20
Compare
Choose a tag to compare

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] - 2024-06-20

20 Jun 07:04
Compare
Choose a tag to compare

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] - 2024-05-22

22 May 16:13
Compare
Choose a tag to compare

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] - 2024-05-15

15 May 14:38
Compare
Choose a tag to compare

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] - 2024-04-08

08 Apr 06:54
Compare
Choose a tag to compare

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] - 2024-03-11

11 Mar 07:24
Compare
Choose a tag to compare

Added

  • Adds "strict mode" to SetConfig 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
  • VerifyLinks default timeout changed, wrong format was used previously
  • Many keyword doc fixes

[3.1.0] - 2024-01-26

26 Jan 13:55
Compare
Choose a tag to compare

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)