I'm using Selenium in Python. And I'm opening the WebBrowser with Chrome. I've added the option "headless" to the WebBrowser so it won't show it on the screen. But I want at some point to show the WebBrowser on the screen(Remove the "headless" option).
I want to open a WebBrowser and let it load a website(takes like 15 seconds) while I can't see it(In headless mode). And later show me the WebBrowser with the loaded Website.
I have tried to simply change the window position out of the screen when starting the WebBrowser, but you can still see the Chrome for a few seconds before it gets to change the window position(Because the code stops when it's loading).