Open ntelo007 opened 3 years ago
Same here
Please try this
insta_session = InstaPy(username=instagram_username, password=instagram_password, headless_browser=False) insta_session.login()
Cookie file not found, creating cookie...
and it stays there until timeout and
Traceback (most recent call last):
File "main.py", line 35, in <module>
session.login()
File "/home/frag/miniconda3/envs/dev/lib/python3.8/site-packages/instapy/instapy.py", line 425, in login
if not login_user(
File "/home/frag/miniconda3/envs/dev/lib/python3.8/site-packages/instapy/login_util.py", line 316, in login_user
input_username = browser.find_element_by_xpath(input_username_XP)
File "/home/frag/miniconda3/envs/dev/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 394, in find_element_by_xpath
return self.find_element(by=By.XPATH, value=xpath)
File "/home/frag/miniconda3/envs/dev/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element
return self.execute(Command.FIND_ELEMENT, {
File "/home/frag/miniconda3/envs/dev/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "/home/frag/miniconda3/envs/dev/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: //input[@name='username']
Seems like login has changed
Good evening,
I am trying to use one of the quick-start templates and I am receiving the following error: