{"repo":"spaceagetv/electron-playwright-helpers","free":true,"listed":false,"github":"https://github.com/spaceagetv/electron-playwright-helpers","clone":"git clone https://github.com/spaceagetv/electron-playwright-helpers.git","description":"Helper functions for running Electron end-to-end tests using Playwright.","language":"TypeScript","stars":82,"topics":["electron","playwright","end-to-end-testing","end-to-end","typescript"],"license":"MIT","category":"scrapers-browser-automation","readme_excerpt":"Electron Playwright Helpers Helper functions to make it easier to use Playwright for end-to-end testing with Electron. Parse packaged Electron projects so you can run tests on them. Click Electron menu items, send IPC messages, get menu structures, stub dialog.showOpenDialog() results, etc. Installation Usage For a full example of how to use this library, see the electron-playwright-example project. But here's a quick example: Javascript: Typescript: Contributing Yes, please! Pull requests are always welcome. Feel free to add or suggest new features, fix bugs, etc. Please use Conventional Commit messages for your commits. This project uses semantic-release to automatically publish new versions to NPM. The commit messages are used to determine the version number and changelog. We're also using Prettier as our code format and ESlint to enforce formatting, so please make sure your code is formatted before submitting a PR. Migrating from v1.x to v2.0 Version 2.0 introduces significant improvements to handle flakiness issues that appeared with Electron 27+ and Playwright. Starting with Electron 27, Playwright's evaluate() calls became unreliable, often throwing errors like \"context or browser has been closed\" or \"Execution context was destroyed\" seemingly at random. What's New in v2.0 Built-in Retry Logic All helper functions now automatically retry operations that fail due to Playwright context issues. This happens transparently - your existing code will work without changes, but","default_branch":null,"files":null,"tree":[],"storefront":"/r/spaceagetv","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/spaceagetv/electron-playwright-helpers/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}