angular / protractor

E2E test framework for Angular apps
http://www.protractortest.org
MIT License
8.75k stars 2.31k forks source link

protractor : This driver instance does not have a valid session ID” #5524

Open theavs16 opened 3 years ago

theavs16 commented 3 years ago

Hi, I am trying to opening up url after restarting browser , it restarts browser but does not open up the URL . It throws following error : “This driver instance does not have a valid session ID”

Used following code in describer block. { afterEach( () => { browser.restart(); })

Thanks Anant Vijay Sharma

andredesousa commented 3 years ago

Hi, Why do you need to restart your browser?