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

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

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -