I would like to know if it is possible to switch off browser connection during the test or is the webdriver can interact with browser console? Take chrome as an example, can I open the console during the test and click the 'offline' mode button?
Thanks in advance :)