Selenium Firefox webdriver results in error: Service geckodriver unexpectedly exited. Status code was: 2

后端 未结 3 713
名媛妹妹
名媛妹妹 2020-12-21 02:17

I\'m writing a program that will search a website for specific entries inside of articles, I\'m using selenium webdriver for Python.

While attempting to connect to t

3条回答
  •  没有蜡笔的小新
    2020-12-21 03:03

    I had this problem on MacOS Big Sur and it's a security issue. To resolve it, go to your system preferences -> Security & Privacy and at the bottom it will complain about geckodriver. You need to click "Allow Anyway."

提交回复
热议问题