How to simulate no browser installed under Windows

20 views Asked by At

In a python program running under windows I used the os.startfile() function to open something.html file.

I now wanted to test the edge case of having no browser installed.

How do I simulate this case under Windows without uninstalling all browsers? I already tried to remove the default programs connection to html files but windows doesn't like that and doesn't let me do it.

0

There are 0 answers