But before any solution takes effect, we should download the related geckodriver executable file from Mozilla/Geckodriver.After some investigation, I finally find the method to resolve it. The key error message is that Message: ‘geckodriver’ executable needs to be in PATH.:Message: 'geckodriver' executable needs to be in PATH. Os.path.basename(self.path), self.start_error_message) ![]() When executing the above python source code, it shows the below error message.įile "/Users/zhaosong/Documents/WorkSpace/-example-code/PythonExampleProject/com/dev2qa/example/selenium/RunSeleniumWithDifferentWebBrowser.py", line 16, in įile "/Users/zhaosong/Documents/WorkSpace/-example-code/PythonExampleProject/com/dev2qa/example/selenium/RunSeleniumWithDifferentWebBrowser.py", line 11, in run_webdriver_firefoxįile "/Users/zhaosong/anaconda3/lib/python3.6/site-packages/selenium/webdriver/firefox/webdriver.py", line 157, in _init_įile "/Users/zhaosong/anaconda3/lib/python3.6/site-packages/selenium/webdriver/common/service.py", line 83, in start. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |