Rayrun
← Back to Discord Forum

Can't get the webview on Android/Chrome

Hi, I'm trying to use playwright on android. The code from the docs is not event starting the browser (https://playwright.dev/docs/api/class-android) I tried editing it to actually launch chrome, but once chrome is launched the script is not detecting any webviews and the function is timing out. I also tried device.webViews() it returns an empty array. The emulator have chrome 103, it's a pixel 6 pro, I enabled command line on non-rooted devices. Do you have examples of a working code to just launch the device and go to a page? Thanks

This thread is trying to answer question "How can I get the webview on Android/Chrome using playwright?"

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 [email protected].