Jump to content

Can use _WebDriver for Normal Chrome ?


Recommended Posts

Hello, I'm using _WebDriver, but I dont want to open new chrome for many reason (Ex : these is word "Chrome is being controlled by automated test software" in chromewebdriver and I dont want to see this word.)

 

How to use Webdriver in normal chrome which opened already before ?

 

 

cHROME.png

Link to post
Share on other sites

It's easy to hide the "automated test software" notification. Simple add this line to your setup routine --

_WD_CapabilitiesAdd('excludeSwitches', 'enable-automation')

If you aren't using the _WD_Capabilities* functions to build your capabilities string, then simple add this to your existing string --

"excludeSwitches":[
                    "enable-automation"
                ]

An existing Chrome instance would need to have remote debugging enabled for you to attach to it with webdriver. Suggest that you search the forum on the term "remote-debugging-port" to locate past discussions.

Link to post
Share on other sites
On 6/26/2022 at 7:17 PM, Danp2 said:

It's easy to hide the "automated test software" notification. Simple add this line to your setup routine --

_WD_CapabilitiesAdd('excludeSwitches', 'enable-automation')

If you aren't using the _WD_Capabilities* functions to build your capabilities string, then simple add this to your existing string --

"excludeSwitches":[
                    "enable-automation"
                ]

An existing Chrome instance would need to have remote debugging enabled for you to attach to it with webdriver. Suggest that you search the forum on the term "remote-debugging-port" to locate past discussions.

Ok, thank you Danp2

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...