![]() ![]() Please see Īs I usual, I read the error message, and found the last line interesting: : Message: 'chromedriver' executable needs to be in PATH.Īs a robot, I googled about that weird “chromedriver” and landed on this: : Message: 'chromedriver' executable needs to be in PATH. Os.path.basename(self.path), self.start_error_message) Raise child_exception_type(errno_num, err_msg)įileNotFoundError: No such file or directory: 'chromedriver'ĭuring handling of the above exception, another exception occurred:įile "/home/begueradj/sel/lib/python3.5/site-packages/selenium/webdriver/chrome/webdriver.py", line 62, in _init_įile "/home/begueradj/sel/lib/python3.5/site-packages/selenium/webdriver/common/service.py", line 81, in start Stdout=self.log_file, stderr=self.log_file)įile "/usr/lib/python3.5/subprocess.py", line 947, in _init_įile "/usr/lib/python3.5/subprocess.py", line 1551, in _execute_child I have been slapped by this exception: Traceback (most recent call last):įile "/home/begueradj/sel/lib/python3.5/site-packages/selenium/webdriver/common/service.py", line 74, in start I then tried to launch my website on Chrome: from selenium import webdriver ![]() ![]() Here is how to fix it.įor a professional need, I installed selenium testing framework on Ubuntu 17.04 LTS within a virtual environment I created using the recommended method I found on the documentation: pip install selenium Here is a common exception raised when trying to invoke selenium’s webriver component for browser automation launching. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |