WebDriverException: Message: The browser appears to have exited before we could connect error with GeckoDriver Selenium and Python

前端 未结 5 1862
时光取名叫无心
时光取名叫无心 2020-12-11 17:07

There are about 100 posts about the same issue but none of them seem to work for me, hence asking again. I\'m trying to launch a Firefox browser using Python and Selenium an

5条回答
  •  孤城傲影
    2020-12-11 17:28

    Make sure (especially on Windows (Win 10)) that your browser and controller (python/C/java/perl/etc) is all either x64 or win32, Microsoft will not thunk between them anymore.

    So, if your trying to control a 64 bit browser (what will be downloaded by default from firefox) from a x32 bit python, it will exit before you can connect.. go and install a win32 version of firefox for the magic to happen

提交回复
热议问题