Menu

Why jQuery droppable does not react on drop?

How to create permanent redirect in PHP?

How to disable Chrome info bars in Codeception Acceptance tests?

chrome testing codeception selenium

Then using Chrome with Selenium to run acceptance tests, the browser displays message about being controlled by selenium:

Chrome is being controlled by automated testing software.

The message is pretty annoying, fortunately it can be removed by proper acceptance.suite.yml configuration directive. The key is WebDriver's capabilities chromeOptions args value. A bit deeply hidden, the required argument is --disable-infobars

Example Configuration

The one example might be easier to understand that the description, so here it is:

modules:
    enabled:
        - WebDriver
        - \Helper\Acceptance
    config:
       WebDriver:
            wait: 0
            url: https://dev.maslosoft.com/
            browser: chrome
            capabilities:
                chromeOptions:
                    args: ['--disable-infobars']

See Also