Forum Discussion

RichardPla's avatar
RichardPla
Occasional Contributor
9 months ago
Solved

RunOptions property

I start a new instance of Chrome to run my test cases. First I specify the RunOptions (command line for Chrome) and then start the browser. Here is the code I am using:   Browsers.Item("chrome").Ru...
  • Marsha_R's avatar
    9 months ago

    Are you trying to run your tests in one browser with all those options set or in separate browsers with one option in each?

     

     

  • rraghvani's avatar
    9 months ago

    Using the following parameter --user-data-dir

    Microsoft Windows [Version 10.0.19044.3208]
    (c) Microsoft Corporation. All rights reserved.
    
    C:\>"C:\Program Files\Google\Chrome\Application\chrome.exe" --user-data-dir=C:\Temp\User1
    
    C:\>"C:\Program Files\Google\Chrome\Application\chrome.exe" --user-data-dir=C:\Temp\User2

    Will launch "two instances" of Chrome