lundi 11 juillet 2016

Disallow safe mode on launch for Selenium in Python?


I'm trying to launch into a website using a Selenium MWE:

from selenium import webdriver

browser = webdriver.Firefox()
browser.get('http://seleniumhq.org/')

However, it's not working. The process itself hangs until it times out.

I think that the problem is that instead of just launching normally whenever Selenium triggers Firefox it triggers it in safe mode:

enter image description here

Is there a way to disable that behavior?


Aucun commentaire:

Enregistrer un commentaire