Selenium WebDriver + Firefox49 (provisional) (Python)

Wow, if I upgrade the version of Firefox, Selenium won't work. I have no choice but to die. I can't have a fun weekend as it is! I looked it up. Oh, it's Python.

Doesn't it work with Selenium 2 series? So far (as of September 29, 2016) this is the way it works.

Raise to Selenium 3.0.0b3 and put geckodriver.

wget https://github.com/mozilla/geckodriver/releases/download/v0.10.0/geckodriver-v0.10.0-linux64.tar.gz
tar xzvf geckodriver-v0.10.0-linux64.tar.gz
cp geckodriver /usr/bin/
pip install selenium==3.0.0b3

I did it according to this. https://github.com/SeleniumHQ/selenium/issues/2739#issuecomment-250112599

Response to mysterious exceptions

Still, get_attribute gives a mysterious exception.

WebDriverException: Message: SyntaxError: missing ) in parenthetical

I wondered if the version of Selenium was upgraded and the usage changed, but it seems to be a bug of Selenium 3.0.0b3, so fix it.

http://stackoverflow.com/questions/39527858/how-can-i-disable-web-driver-exceptions-when-using-the-mozilla-marionette-web-dr

I wonder if anyone is giving me a pull request.

Oshimao.

Recommended Posts

Selenium WebDriver + Firefox49 (provisional) (Python)
Python: Working with Firefox with selenium
Challenge Python3 and Selenium Webdriver
Use FireFox (via Homebrew-cask) with Selenium WebDriver Python bindings
[Python / Selenium] XPath
My Webdriver (Python)
Use selenium phantomjs webdriver with python unittest
Selenium + WebDriver (Chrome) + Python | Building environment for scraping
Drive WebDriver with python
ScreenShot with Selenium (Python)
Scraping with Selenium [Python]
Python web scraping selenium
python selenium chromedriver beautifulsoup
Firefox add-on that copies element specifications for Selenium WebDriver
Scraping with selenium in Python
Scraping with Selenium + Python Part 1
[Python] Eliminate Chrome Webdriver errors
[Python] Introduction to scraping | Program to open web pages (selenium webdriver)
Scraping with Selenium in Python
Start to Selenium using python
Web scraping using Selenium (Python)
Scraping with Selenium + Python Part 2
[Python + Selenium] Tips for scraping
Operate Firefox with Selenium from python and save the screen capture
Image capture of firefox using python
Scraping with Selenium in Python (Basic)
Scraping with Python, Selenium and Chromedriver
selenium case study summary python pyCharm
ElasticSearch + Kibana + Selenium + Python for SEO
[EC2] How to run selenium webdriver
Write selenium test code in python
Selenium stopped working after updating Firefox
Selenium and python to open google