selenium - what is this driver = WebDriverManager.startDriver(browser, useragent) means? -
for line of code in selenium
:
driver = webdrivermanager.startdriver(browser, useragent) browser = context.getcurrentxmltest().getparameter("browser"); , useragent = context.getcurrentxmltest().getparameter(useragent);
does know line doing? , use webdriver manager
?
i assume "where", "and" stuff setting parameters function, cucumber type coding. pulling parameters kind of context configuration.
it looks webdrivermanager helps set type of driver want. making easy change firefox, chrome, ie hiding configuration class.
Comments
Post a Comment