Rayrun
← Back to Discord Forum

How to get the context of a browser window that is opened by the electron app?

I am clicking on a login button in my Electron app and it opens a browser window where I would like to the n. The browser window it opens is in a system browser so Playwright is not able to interact with it. Is there a way for me to redirect the links opened in the browser from Electron in such a way that can interact with them? Ex: Lunching a page initially and then launching electron app, click on the login link and then redirect this page to the browser window that playwright opened initially. I am using Playwright version 1.35.1, node 18.15.0

This thread is trying to answer question "How to get the context of a browser window that is opened by the electron app?"

0 replies
TwitterGitHubLinkedIn
AboutQuestionsDiscord ForumBrowser ExtensionTagsQA Jobs

Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email luc@ray.run.