-
-
Notifications
You must be signed in to change notification settings - Fork 8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't run firefox in private mode. #3390
Comments
Try this, it worked for me: from selenium.webdriver import Firefox
from selenium.webdriver.firefox.options import Options
o = Options()
o.add_argument('-private')
f = Firefox(firefox_options=o) |
@berdt were you able to achieve this? I'm using FF 51, node webdriver 3.1.0, geckodriver 0.14, MacOS Sierra. Let me know if you got it working. Thanks! |
@rlora I have not tried, decided to downgrade to an earlier version of Firefox and selenium. |
It should wors as @davehunt suggested. FF Options class definitely has add_argument method: |
OS:
w10
Selenium Version:
3.0.2 - python 3.6
Browser:
Firefox 50.0
Geckodriver:
0.13
Neither using
OR
the browser will be running in private mode.
The text was updated successfully, but these errors were encountered: