Macro Scheduler 15

ChromeStart

ChromeStart>session_id

 

Creates a Chrome session and returns the session id.


Use the CHROMERIVER_EXE directive to specify the path to ChromeDriver.exe. Optionally set the port number with CHROMEDRIVER_PORT.


Optionally a comma delimited list of Chrome command line switches can be specified in the CHROMEDRIVER_OPTIONS variable. These command line arguments will then be passed to Chrome when it is started.


Important


The Chrome functions require a copy of ChromeDriver.exe. Download the correct version for your version of Chrome from here:

https://chromedriver.chromium.org


Then set CHROMEDRIVER_EXE to the path of ChromeDriver.exe


See also: Chrome Functions

 

Example

 

Let>CHROMEDRIVER_EXE=c:\chromedriver.exe
Let>CHROMEDRIVER_OPTIONS=--start-maximized

//start a Chrome session
ChromeStart>session_id

//navigate to google.com
ChromeNavigate>session_id,url,https://www.google.com/