I have a scenario where it should be tested when there is no connection. To automate this, I thought making the browser offline and checking the script doable. Can someone please help me how we install the browser offline while running the test from the protractor? Is there any way to access the browser preferences from the protractor?
source
share