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.
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
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