AutoCreateGmailAccount
AutoCreateGmailAccount copied to clipboard
Getting an Attribute error
So, I've been trying to run the code but continuously getting code. I'm using windows 10 to run it. Please tell me how can i solve this issue.
File "C:\Users\qadee\OneDrive\Desktop\AutoCreateGmailAccount-master\AutoCreateGmailAccount.py", line 40, in CreateAccount self._browser.find_element_by_css_selector(r'input[id="firstName"]').send_keys( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'WebDriver' object has no attribute 'find_element_by_css_selector'
Replace
find_element_by_css_selector(
with
find_element("css selector",
everywhere in the file
it works and thanks for helping me out but its giving me this error
DevTools listening on ws://127.0.0.1:55965/devtools/browser/09155804-38c5-450c-b977-fee22330bacd [4212:3884:0308/122811.734:ERROR:device_event_log_impl.cc(218)] [12:28:11.733] USB: usb_device_handle_win.cc:1046 Failed to read descriptor from node connection: A device attached to the system is not functioning. (0x1F) [4212:3884:0308/122811.735:ERROR:device_event_log_impl.cc(218)] [12:28:11.735] USB: usb_device_handle_win.cc:1046 Failed to read descriptor from node connection: A device attached to the system is not functioning. (0x1F) IP Mac Limited. Stop the Script...