While executing multiple tests simultaneously, I want to make the Firefox browser window invisible. I can minimize it using selenium.minimize Window()
but I don’t want to make it that way.
Is there any way to hide this Firefox window?
While executing multiple tests simultaneously, I want to make the Firefox browser window invisible. I can minimize it using selenium.minimize Window()
but I don’t want to make it that way.
Is there any way to hide this Firefox window?
Hi Miro Vasil,
The common way to hide the browser is that you need to install PhantomJS. Then, change the below code:
driver = webdriver.Firefox(); To-> driver = webdriver.PhantomJS();
The rest of the code need not be changed.