From the course: Playwright Python and Pytest for Web Automation Testing: Master Modern Web Testing with Playwright and Pytest in Python

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

Google login issue

Google login issue

While trying to log in to your Google account with Playwright, if you get this message right here, here's how to bypass the same. That is, you have to go ahead and provide some additional flags or arguments when launching the browser that is in the launch method of any browser driver. In this case, specific for the Chromium driver, we need to pass some additional flags and And that we can do with the args argument, it takes in a list of different arguments as strings. Here, we need to pass to, that would be disableDevUsage, and we need to provide another one, that would be disableBlankFeaturesSetToAutomationControl. You can grab them from below or also copy paste them directly. And once we have added them, and if I go ahead and try to rerun the script, the same message or the same warning message does not appear again, and we safely navigate to the password screen. And from here, everything is just the same as we have discussed before. If you get this message while trying to log in…

Contents