Changelogs
Improved field value replacement and element matching
Improvements
- Improved how the
I.fillcommand replaces values in input fields that already contain text. This resolves an edge case on some websites where clearing a field would trigger the original value to be restored, causing the new value to be appended instead of fully replacing the existing value. To ensure the value is always replaced,I.fillwill now sendCtrl/Cmd + Awhen a field contains existing text before entering the new value. - Improved element targeting by rebalancing attribute weights to prioritize attributes with higher intentionality, resulting in more accurate element matching.
Improved CSV and JSON data loading
Improvements
- Added support for loading CSV files that include separator metadata (for example,
sep=;) at the beginning of the file. - Added
TEST.loadCsvandTEST.loadJsonas shortcut aliases for theTEST.loadDataFromCsvandTEST.loadDataFromJsoncommands.
Fixed I.click detection of submit buttons
Improved support for handling downloaded files
Improvements
- Added support for
TEST.loadDataFromJsonandTEST.loadDataFromCsvto load test data directly from the downloads folder.
Documentation: Loading data from downloaded CSV and JSON files
Bug Fixes
- Fixed an issue where the
UI.Downloads.hasFilecommand fails to detect downloaded files when the file name contained uppercase letters.
Improved browser edge case handling
Improvements
- Updated
I.dontSeeto retry when page navigation occurs during command execution. If page navigation exceeds the page load timeout, the command will continue retrying until the configuredTEST.commandTimeoutis reached instead of failing early with a504 Gateway Timeouterror.
Bug Fixes
- Fixed an issue where test commands are failing on pages with inline PDF viewers in Chromium-based browsers. This happens because the PDF viewer was detected as a new browser tab, causing the test to incorrectly switch context to the PDF viewer instead of the parent page.
- Fixed an issue where a
no such alerterror could be thrown if the current page closed unexpectedly while a test command was being executed.
Fix test crashing on pages with inline PDF viewers
Fixed screenshot issues and improved Metamask setup reliability
Improvements
- Added retries to
I.switchTabuntil the target tab is found or the configuredTEST.commandTimeoutis reached. - Increased the timeout for the MetaMask setup flow to 60 seconds.
- Added a fallback mechanism to detect and open the MetaMask extension when MetaMask initialisation on browser start exceeds timeout.
Bug Fixes
- Fixed an issue where screenshots taller than 1080 pixels are not captured properly.
- Fixed an issue where screenshots captured from the MetaMask extension could appear completely black.