kctvt Posted June 26, 2022 Posted June 26, 2022 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 ?
Danp2 Posted June 26, 2022 Posted June 26, 2022 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. kctvt and DonChunior 2 Latest Webdriver UDF Release Webdriver Wiki FAQs
kctvt Posted June 30, 2022 Author Posted June 30, 2022 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now