Hi all,
I have issue with setting chrome to offline mode because of some issues with new driver and chrome.
I'm Using this function:
def set_browser_offline(self):
""" Sets browser to offline mode
Example:
| Set Browser Offline |
"""
if not self.patched:
self._monkeypatch_driver()
self.driver.set_network_conditions(
offline=True, latency=5,
download_throughput=500 * 1024,
upload_throughput=500 * 1024,
)
It was working several moths ago, but nowadays it is ignores. if I 'get_network_conditions' it will tell me that I'm offline, but it is not true.
This is the call, that is made:
There are information about that it is no longer possible, and I should try async/await.
Any idea how to rework SeleniumLibrary to be able to set browser to offline again?
Thanks