Playwright · Senior · Question 62 of 77

How do you test an Electron app with Playwright?

Show the answer

Correct answer: Use the experimental _electron API to launch and drive it

Explanation

Playwright can launch Electron, access its windows as pages and evaluate code in the main process.

Further reading

Problem with a question

Playwright · Senior · question 62

Test yourself

Take the Playwright · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz