Forum Discussion
tristaanogre
5 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.
- vthomeschoolmom5 years agoSuper Contributor
Hrrrrrm. Can't find an edge executable. But I shall seek on. Thanks.
- TanyaYatskovska5 years agoSmartBear Alumni (Retired)
vthomeschoolmom, please share with us the code you'll create with the WScript.Shell object.
- vthomeschoolmom5 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);
Related Content
- 8 years agoSundaytwins
Recent Discussions
- 3 hours agoSvetaG