Repository navigation
@e2e-dev/web@0.15.4
Patch Changes
-
#1334
6c8e71fThanks @21prnv! -locator.filter()takeshasNot, which drops matches whose subtree resolves a locator, as in Playwright. Third-party engines must handle the newhasNotfield of afilterexpression. -
#1048
7f4475cThanks @rudycelekli! - Addbrowser.waitForDownloads(trigger, { count })to collect several files from one trigger.waitForDownloadnow also bounds completion and saving by its timeout. -
#1037
a481fd3Thanks @rudycelekli! -locator.filter()takeshasNotText, which drops matches whose text contains a string or matches a RegExp, as in Playwright. Third-party engines must handle the newhasNotTextfield of afilterexpression. -
#1044
555e226Thanks @rudycelekli! - Addroute.fetch()to read the upstream response inside a route handler before deciding it. -
#1288
8ce2c65Thanks @DeryFerd! - Screenshots no longer change the inline style of editable elements to hide the text caret, so a server-rendered app hydrating while a capture runs no longer reports a React attribute mismatch on its inputs and textareas. A capture runs with the caret hidden in the frames it can reach, and the stylesheet is taken back from every frame afterwards. -
#1046
5879bfcThanks @rudycelekli! - Add selective cookie clearing with validated name, domain and path filters, preserving other browser storage. -
#958
85e92f9Thanks @kuishou68! -uploadandsetInputFilesaccept a button that opens a file chooser, such as one over a hidden file input. The agent'suploadtool says so, so the model can pick the button it sees. -
#1429
3a841bbThanks @KrzysztofMoch! - Aweb()target takesapp.permissionswith'grant'states, granted to every page of the attempt:permissions: { 'clipboard-read': 'grant', 'clipboard-write': 'grant' }lets the app use the clipboard in headless Chromium. Names are checked against the browser's at config load;'deny'and'reset'are refused on web. -
#1448
cdf910aThanks @KrzysztofMoch! - Screenshots no longer fail withENGINE_FAILURE("closed-shadow root tracking is unavailable") on a page that replaces the globalWeakMap, as some polyfills do. On such pages, locators find elements inside closed shadow roots again, and CDP reconnects no longer fail.