Chrome example not working

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
mnaeem
Junior Coder
Posts: 29
Joined: Wed Mar 10, 2021 5:05 pm

Chrome example not working

Post by mnaeem » Wed Mar 10, 2021 5:18 pm

Hello,
I am trying to open chrome and visit a specific URL. I found an example Chrome Example but it is not working. I have followed the instructions of downloading chrome driver and setting its directory path.

For further information you are kindly requested to visit the below URL for a screenshot.

https://1drv.ms/u/s!AoNHROZr6p0PkBgHzzw ... X?e=jW78qr

Thanks

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1347
Joined: Sun Nov 03, 2002 3:19 am
Contact:

Re: Chrome example not working

Post by Dorian (MJT support) » Wed Mar 10, 2021 6:20 pm

If you experience the "Unquoted string in JSON data only valid for dictionary names" error this means you've downloaded the wrong version of Chromedriver, or the wrong version of Chromedriver is still running. This will help.
Yes, we have a Custom Scripting Service. Message me or go here

mnaeem
Junior Coder
Posts: 29
Joined: Wed Mar 10, 2021 5:05 pm

Re: Chrome example not working

Post by mnaeem » Wed Mar 10, 2021 7:01 pm

Hi Dorian,

Thank you so much, I followed your advise and re-downloaded the older version of chrome driver which worked pretty fine.

Thanks

mnaeem
Junior Coder
Posts: 29
Joined: Wed Mar 10, 2021 5:05 pm

Re: Chrome example not working

Post by mnaeem » Wed Mar 10, 2021 7:13 pm

When the chrome example script executes, it opens the chrome window but this new chrome window shows Chrome is being controlled by automated test software can by any means we can hide this?

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1347
Joined: Sun Nov 03, 2002 3:19 am
Contact:

Re: Chrome example not working

Post by Dorian (MJT support) » Wed Mar 10, 2021 8:23 pm

No, it's not possible to remove that. We cannot change that. ChromeDriver is a Google technology. It uses the WebDriver standard. We have no control over that.
Yes, we have a Custom Scripting Service. Message me or go here

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts