Skip to content

@e2e-dev/web@0.15.4

Choose a tag to compare

@github-actions github-actions released this 30 Oct 16:28
· 180 commits to main since this release
cad17c3

Patch Changes

  • #1334 6c8e71f Thanks @21prnv! - locator.filter() takes hasNot, which drops matches whose subtree resolves a locator, as in Playwright. Third-party engines must handle the new hasNot field of a filter expression.

  • #1048 7f4475c Thanks @rudycelekli! - Add browser.waitForDownloads(trigger, { count }) to collect several files from one trigger. waitForDownload now also bounds completion and saving by its timeout.

  • #1037 a481fd3 Thanks @rudycelekli! - locator.filter() takes hasNotText, which drops matches whose text contains a string or matches a RegExp, as in Playwright. Third-party engines must handle the new hasNotText field of a filter expression.

  • #1044 555e226 Thanks @rudycelekli! - Add route.fetch() to read the upstream response inside a route handler before deciding it.

  • #1288 8ce2c65 Thanks @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 5879bfc Thanks @rudycelekli! - Add selective cookie clearing with validated name, domain and path filters, preserving other browser storage.

  • #958 85e92f9 Thanks @kuishou68! - upload and setInputFiles accept a button that opens a file chooser, such as one over a hidden file input. The agent's upload tool says so, so the model can pick the button it sees.

  • #1429 3a841bb Thanks @KrzysztofMoch! - A web() target takes app.permissions with '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 cdf910a Thanks @KrzysztofMoch! - Screenshots no longer fail with ENGINE_FAILURE ("closed-shadow root tracking is unavailable") on a page that replaces the global WeakMap, as some polyfills do. On such pages, locators find elements inside closed shadow roots again, and CDP reconnects no longer fail.