Quantcast
Channel: Silk Test - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 625

I have disabled the option to execute base state and I want to be able to control which browser is ran at runtime.

$
0
0

Hello,

Essentially I have a script that is ran with these beginning instructions because it is necessary for what is being tested:

 

Dim baseState AsNew BrowserBaseState(BrowserType.GoogleChrome, "website path")

baseState.CommandLineArguments = "-disable-print-preview"

baseState.Execute

I would like to be able to have a switch mechanism so I am able to use the same script and choose a different browser at the select browser stage (chrome Firefox etc) and at runtime I am able to execute that browser that was chosen. I do not know if the browser you select at the select browser dialog has a name so I'm able to make that call in my script to make a 'switch' call.


Viewing all articles
Browse latest Browse all 625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>