Python Forum

Full Version: slenium instergram auto loggin
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
[hey what i am trying to do is code an instergram bot but i have a lot of problam i am using selenium to log in and try other ways but still not success even for log in to the account
it is not finding the element i need by any method
:this is my code:

import selenium
from selenium import webdriver

browser = webdriver.Chrome()

browser.get('https://www.instagram.com/accounts/login/')

browser.find_element_by_class_name('_2hvTZ pexuQ zyHYP')
browser.send_keys('my user name')
Show what you have done so far.