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

Popular posts from this blog

compilation - PHP install fails on Ubuntu 14 (make: *** [sapi/cli/php] Error 1) PHP 5.6.20 -

php - Passing multiple values in a url using checkbox -

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -