Hey @dydx why don’t you update the code according to the changes you made in the comments and update your original post?
That way people can go through the post and not all of the comments.
While doing so just update the status of the post saying that you are updating the files and ask people to wait.
Also thank-you for this. Could you share the link of the forum from where you got this or name it at least?
i don’t know …just try experimenting with it… download chromedriver for Linux
move binary file to driver folder
give that file executable permission … !
Traceback (most recent call last):
File “run_me.py”, line 16, in
generate_info = AccountDetail()
File “/Users/wcp/Downloads/scott/accountDetails.py”, line 17, in init
self.driver = webdriver.Chrome(executable_path=self.path)
File “/Library/Python/3.7/site-packages/selenium/webdriver/chrome/webdriver.py”, line 73, in init
self.service.start()
File “/Library/Python/3.7/site-packages/selenium/webdriver/common/service.py”, line 76, in start
stdin=PIPE)
File “/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/subprocess.py”, line 775, in init
restore_signals, start_new_session)
File “/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/subprocess.py”, line 1522, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 1] Operation not permitted: ‘driver/chromedriver.exe’
A couple mistakes and lessons I learnt till it worked.
You need Chrome installed in order for this to work. Does not work otherwise. Also my pythonpath under enviroment variables was incorrect. My mistake because I accidently changed it with SVP a while ago. Had to uninstall python, make sure pythonpath is deleted then reinstall python.
Worked great, everything ran as it should and just like I did manually before lol. Hope this time it works out better though as I wasn’t able to get the email address that was given sadly but we’ll see.