Does anyone know if I can access the page without opening a browser? That is, to do the tests without opening the browser.
How? If you can give me a light.
I'm using the Firefox browser
Does anyone know if I can access the page without opening a browser? That is, to do the tests without opening the browser.
How? If you can give me a light.
I'm using the Firefox browser
Yes. just install PhantomJS .
Then you change the webdrive of:
driver = webdriver.Firefox()
To:
driver = webdriver.PhantomJS()
The rest of the code I believe you will not need to change.