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
  •  | 
  •  

문제

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.

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top