Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 98779

What is the replacement for browser.setNetworkConditions on Protractor?

$
0
0

I have a test case on my e2e testing that I need to disable network.

I used to do it like this:

browser.driver.setNetworkConditions({
    offline: true
});

I need an alternative because latest chromedriver API no longer support this function.


Viewing all articles
Browse latest Browse all 98779

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>