Forum Discussion
tristaanogre
7 years agoEsteemed Contributor
The Browsers object is not accessible within an extension so you can't do exactly the same thing.
What you will have to do is write code to use the WshShell object and the Run method to run the desired browser executable.
- vthomeschoolmom7 years agoSuper Contributor
Hrrrrrm. Can't find an edge executable. But I shall seek on. Thanks.
- TanyaYatskovska7 years ago
Alumni
vthomeschoolmom, please share with us the code you'll create with the WScript.Shell object.
- vthomeschoolmom7 years agoSuper Contributor
I am not including all the logic I am going to use to randomize which browser.... but just to load the browser window and navigate to the page
WshShell.Run("powershell - file C:\\VSI Script Extensions\\RecTrac\\edge.bat"); Sys.Browser(ProjectSuite.Variables.BrowserUnderTest).ToUrl(Project.Variables.Url);