ChromeDriver - How to maximize browser window on start

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
Franklin
Newbie
Posts: 18
Joined: Mon Dec 14, 2015 5:14 pm

ChromeDriver - How to maximize browser window on start

Post by Franklin » Mon Jul 20, 2020 5:06 pm

Hello

I've searched around and I cant seem to find a way to start the Chrome Maximized (using ChromeDriver.exe) with MarcoScheduler.

I found these parameters on the Selenium website. --start-maximized

What is the syntax to use it or is this possible using the chromedriver functions?

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

Re: ChromeDriver - How to maximize browser window on start

Post by Dorian (MJT support) » Tue Jul 21, 2020 9:38 am

Hi Franklin,

For that you can use the WindowAction command.

Code: Select all

WindowAction>1,Chrome*
Yes, we have a Custom Scripting Service. Message me or go here

Franklin
Newbie
Posts: 18
Joined: Mon Dec 14, 2015 5:14 pm

Re: ChromeDriver - How to maximize browser window on start

Post by Franklin » Tue Jul 21, 2020 2:43 pm

Beautiful!

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