-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: 'WebDriver' object has no attribute 'find_element_by_css_selector' #1
Comments
----------Try This One------------- from selenium import webdriver options = Options() |
Hi, after applying your edit, I get an error: will you help an amateur? : D |
I solved the problem |
@Brodazen Thank you you solved my problem |
Latest Error in Nov 2022 - COuld You please help? Type your comment: Looks Great! |
Even after using above changes [12164:14312:1124/015214.518:ERROR:util.cc(129)] Can't create base directory: C:\Program Files\Google\GoogleUpdater |
Ehen i run it, it gives this error?
`c:\Users\Messi\Desktop\bot\IG-Bot-main\like_cmt_follow.py:18: DeprecationWarning: executable_path has been deprecated, please pass in a Service object
browser = webdriver.Chrome(executable_path=ChromeDriverManager().install(), options=options)
DevTools listening on ws://127.0.0.1:56093/devtools/browser/9082e5e2-ee79-48de-b666-a885c610ca91
Traceback (most recent call last):
File "c:\Users\Messi\Desktop\bot\IG-Bot-main\like_cmt_follow.py", line 84, in
main()
File "c:\Users\Messi\Desktop\bot\IG-Bot-main\like_cmt_follow.py", line 22, in main
username_input = browser.find_element_by_css_selector("input[name='username']")
AttributeError: 'WebDriver' object has no attribute 'find_element_by_css_selector'
(bot) PS C:\Users\Messi\Desktop\bot>`
How can i fix this?
Thanks
The text was updated successfully, but these errors were encountered: