Skip to content

[Bug]: Unable to disable "Chrome is being controlled by automated test software" message when using Playwright + Selenium Grid (Python) #36238

Open
@juanfrilla

Description

@juanfrilla

Version

1.52.0

Steps to reproduce

  1. Configure the selenium grid with the hub and nodes
  2. Configure a playwright script with the SELENIUM_REMOTE_URL on the top that connect to the selenium grid infrastructure and set a breakpoint to stop the execution before the browser closes
  3. Enter selenium grid node through vnc
  4. The "Chrome is being controlled by automated test software" infobar appears
    Important: Dont do playwright install to install the browsers because the browsers will be taken from the selenium grid nodes.

Expected behavior

I want to get rid of the "Chrome is being controlled by automated test software" infobar, it looks that its ignoring the following flags

--disable-infobars
args=['--disable-blink-features=AutomationControlled'],
ignore_default_args=["--enable-automation"],

Actual behavior

It appear the message "Chrome is being controlled by automated test software" when I use playwright connected to selenium grid while in normal playwright that message dont appear

Additional context

No response

Environment

Playwright, seleniumgrid through docker compose, python

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions