User Controls

Issue updating selenium/geckodriver.

  1. #1
    Sophie Pedophile Tech Support
    So i was trying to run my dork bot the sauce for which can be found on my github right here. But there appears to be an issue with Selenium and Firefox 53.

    I received this error message.

    selenium.common.exceptions.WebDriverException: Message: Expected [object Undefined] undefined to be a string


    I know for a fact my source code worked before and after googling the issue my suspicion was confirmed by the official Geckodriver repo issues.

    So here is what i did to try to resolve it, and, i am reliably informed that a bugfix is in place at Mozzilas end.


    sudo pip install selenium --upgrade


    Then i just ran.


    sudo apt-get update && sudo apt-get upgrade


    Grabbed my new Geckodriver from here.

    https://github.com/mozilla/geckodriver/releases

    Unpacked it, made it executable, `rm -rf` my old geckodriver and dropped the new one in /bin. But i still get the same error, after checking in the Geckodriver, it says my firefox version is still 53 as well, so wtf m8?
  2. #2
    Lanny Bird of Courage
    run
    which geckodriver
    in a terminal and post what it prints
  3. #3
    Sophie Pedophile Tech Support
    Originally posted by Lanny run
    which geckodriver
    in a terminal and post what it prints

    Oh. Well when you put it that way. Also, if i had geckodriver in /bin and /usr/bin why didn't it show me both when i ran `sudo find / -name "geckodriver"`?

    Which gave me /usr/bin so i cd'd to /bin and ran


    sudo rm -rf /usr/bin/geckodriver && sudo mv geckodriver /usr/bin
  4. #4
    Lanny Bird of Courage
    So does that resolve the issue?

    I'm not sure why find wouldn't have found it, maybe you terminated it after you got the first result back?
Jump to Top