Open

Instead of giving the browser name here, we have to pass the browserstack as a parameter to work with the browser stack.


Syntax :

S.Open("BrowserStack");

Settings :

Settings.Web.setPlatform(platform);
Settings.Web.setBrowserName("browserName");
Settings.Web.setBrowserVersion("browserVersion");
Settings.Web.setBrowserResolution("browserResolution");
Settings.Web.setBrowserStackUserName("userName");
Settings.Web.setBrowserStackUserKey("userKey");