I need to test a feature of my app designed to execute in offline mode, using local storage to queue data before internet connectivity is restored. Can Selenium set browser in offline mode?
You can create the new Browser Profile say for firefox. and then configure that profile to use offline mode using :
network.manage-offline-status with the value true.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With