Currently, I am utilizing selenium for application testing purposes. Although I typically start my browser in the usual manner, there comes a point where I must transition to offline mode. I have come across various sources indicating that switching to offline mode using selenium is not feasible unless the driver is initially started in offline mode, which is not the case for me.
My approach involves the use of C# and Selenium, with the intention of eventually incorporating my project to run remotely.
Is there a known method, whether it be through Javascript or another means, to transition the browser to offline mode?