Is it recommended to explicitly call browser.driver.quit() when running a test suite with protractor? Or does the protractor API do that for you?

StackOverflow https://stackoverflow.com/questions/23351735

  •  11-07-2023
  •  | 
  •  

Pergunta

I am running my protractor test suite in firefox driver as part of the continuous integration process. We connect to selenium server on the grid. I have a onPrepare block as part of my test suite that logs a user in and an onComplete that logs the user out. I do not explicitly call driver.quit. Is it required? Any help will be appreciated.

Foi útil?

Solução

Not necessary since runner teardownEnv will take care of that for you.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top