Setting The Browser Binary With CHROMEDRIVER_OPTIONS

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
NickD
Pro Scripter
Posts: 58
Joined: Fri Sep 23, 2016 2:17 pm

Setting The Browser Binary With CHROMEDRIVER_OPTIONS

Post by NickD » Wed Oct 14, 2020 2:26 pm

Marcus recently informed me that we can now set ChromeDriver to use a specific profile via:

Code: Select all

Let>CHROMEDRIVER_OPTIONS=--user-data-dir=/path/to/existing/profile
I would really like to be able to control other chromium based drivers with Macro Scheduler. Does anyone know if it is possible to:

a: Set a binary with ChromeDriver CLI flags.

or:

b: Interact with an existing ChromeDriver browser session?

I can launch the required browser with Selenium / ChromeDriver using Python, and export the session_id, but when I try to take over the session with MacroScheduler and use ChromeNavigate, nothing happens.

User avatar
Marcus Tettmar
Site Admin
Posts: 7378
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: Setting The Browser Binary With CHROMEDRIVER_OPTIONS

Post by Marcus Tettmar » Sat Oct 17, 2020 8:55 am

Hi,

I've put this on my list to investigate. I suspect we'll need to add a Let>CHROMEDRIVER_BINARY flag or something like that.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

NickD
Pro Scripter
Posts: 58
Joined: Fri Sep 23, 2016 2:17 pm

Re: Setting The Browser Binary With CHROMEDRIVER_OPTIONS

Post by NickD » Sat Oct 17, 2020 7:06 pm

That's great, thanks Marcus.

NickD
Pro Scripter
Posts: 58
Joined: Fri Sep 23, 2016 2:17 pm

Re: Setting The Browser Binary With CHROMEDRIVER_OPTIONS

Post by NickD » Mon Mar 08, 2021 4:51 pm

Hi Marcus, any progress with this?

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

Re: Setting The Browser Binary With CHROMEDRIVER_OPTIONS

Post by Dorian (MJT support) » Mon Mar 08, 2021 5:06 pm

Hi Nick. Not currently.
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