[Feature] A way to determine whether an Electron app is executed via Playwright
See original GitHub issueIs there a way to determine whether an Electron application is executed via Playwright?
The use case is to regard the additional CLI arguments that are passed before the script path. Currently, the only idea I have, is to filter out the switches --inspect and --remote-debugging-port directly before passing the argument array to the application’s CLI parsing. But this is not a good solution for multiple reasons.
I made in issue in the Yargs project. AFAICT a CLI parsing library needs this requested feature to be able to properly filter the arguments.
Issue Analytics
- State:
- Created a year ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
[Feature] Support @playwright/test in electron #8208 - GitHub
We are using playwright to develop web app and electron application. In web apps it works pretty well but in electron some features...
Read more >Testing Electron Apps with Playwright - DEV Community
Automate on GitHub Go to: the action => click on it => click on summary => click on output. Below is a snippet...
Read more >How to Test Electron Apps - Strani Anelli
The first thing I want to check is that the Electron app starts up and shows a window. Reading the Playwright documentation, I...
Read more >Testing with Playwright - CodeceptJS
It's easy to start writing a test if you use interactive pause. Just open a web page and pause execution. Feature('Sample Test'); ...
Read more >Playwright End To End Testing Tutorial: A Complete Guide
This Playwright end to end testing tutorial would guide you through its setup just in case you are wondering how to start working...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Thank you very much!
or let me actually send a PR myself so that I don’t forget about this one