Forum Discussion
rraghvani
Champion Level 3
You have to use --user-data-dir as well, in your RunOptions,
def LaunchTwo():
Browsers.Item[btEdge].RunOptions = "--user-data-dir=C:\Temp\Profile_edge1"
Browsers.Item[btEdge].Run("http://www.google.com/")
Browsers.Item[btEdge].RunOptions = "--inprivate --user-data-dir=C:\Temp\Profile_edge2"
Browsers.Item[btEdge].Run("https://www.w3schools.com/")
abhishek1997
2 years agoContributor
If we use the above function (LaunchTwo()), the browser opening in a new instance but the SmartBear extension is not available in the new profile to execute the next steps.
Related Content
- 2 years ago