question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature] A way to determine whether an Electron app is executed via Playwright

See original GitHub issue

Is 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:closed
  • Created a year ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
c3ercommented, Aug 24, 2022

Thank you very much!

1reaction
aslushnikovcommented, Aug 23, 2022

or let me actually send a PR myself so that I don’t forget about this one

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found