mozilla / geckodriver

WebDriver for Firefox
https://firefox-source-docs.mozilla.org/testing/geckodriver/
Mozilla Public License 2.0
7.03k stars 1.51k forks source link

Executable needs to be in PATH #2067

Closed tang-butian closed 1 year ago

tang-butian commented 1 year ago

Version: geckodriver 0.27.0 Platform: Adnroid Firefox: fennec-68.9.0.multi.android-i386 Selenium: 3.11 The following error occurs when I run it on Android ` EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--

whimboo commented 1 year ago

Well, this is not a geckodriver issue. Please consult the Selenium documentation in how correctly setting the geckodriver path if it hasn't been put into a folder which is part of the PATH environment variable. Also note that geckodriver needs to run on the host machine and not the Android device itself.

Also is there a reason why you are using Fennec (68.0) and not a more recent Firefox (Fenix) that is based on GeckoView. Fennec is no longer supported.