mercredi 4 septembre 2019

What is the replacement for browser.setNetworkConditions on Protractor?

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.

Aucun commentaire:

Enregistrer un commentaire