I have specs for subscriptions:
- with Facebook
- without Facebook
For specs with Facebook subscription I have to turn on restartBrowserBetweenTests: true
to clear browser cache from previously entered Facebook emails and passwords. For other subscriptions I have to turn restartBrowserBetweenTests
off manually, every time. Is there any way in Protractor to restart browser only between certain specs?
Thanks!