I want to open all links in the same window instead in new window. I tried
profile.setPreference(\"browser.link.open_newwindow\", 1)
but th
In the selenium config file:
C:\Python27\Lib\site-packages\selenium\webdriver\firefox\webdriver_prefs.json
change the following line from:
"browser.link.open_newwindow": 2,
to:
"browser.link.open_newwindow": 3,
I test it and it worked