yoshiserry
yoshiserry

Reputation: 21375

is there any way to stop selenium web driver for python opening a browser window

Most of my skills are in excel automation where you can stop the worksheet flashing while you update it, and only show the user when all your calculations are done.

Selenium web browser is collecting information for me, but every time it does so it opens a new window.

Is there a suppress mechanism to make the window not show up?

Upvotes: 1

Views: 1147

Answers (1)

Martin Rajnoha
Martin Rajnoha

Reputation: 11

Check phantomjs

from selenium import webdriver
driver=webdriver.PhantomJS('your pahtomjs exe file locaiton')

Another option is: splinter

Upvotes: 1

Related Questions