having issue just trying to automate for the first time. I have access to repositories by GIT, where its python folders all use Python 2.7 syntax. I also have Google chrome driver as well(Using ubuntu). When I attempt to automate, I just get error, regarding python 2.7. Unsure if thats the issue.
So a friend of mine gave me a python code, that would use google chrome driver to test if I can automate with the python code that is scripted for use once executed. Using the command terminal, I get the following error:
traceback (most recent call last): File "autotimesheet.py", line 254, in <module> processPDCI(res) File "autotimesheet.py", line 85, in processPDCI driver = webdriver.Chrome('/home/myname/ChromeDriver') File "/home/myname/.local/lib/python2.7/site- packages/selenium/webdriver/chrome/webdriver.py", line 62, in __init__ self.service.start() File "/home/myName/.local/lib/python2.7/site- packages/selenium/webdriver/common/service.py", line 86, in start os.path.basename(self.path), self.start_error_message) selenium.common.exceptions.WebDriverException: Message: 'ChromeDriver' executable may have wrong permissions. Please see https://sites.google.com/a/chromium.org/chromedriver/home
So unsure how to solve it. Friend is also stumped, and suggested to ask online. I have use pip install selenium & pip install nose for set up. So any guidance/help would be appreciated. I will troubleshoot for a while to see if I can fix it.