selenium python for creating a instagram login liker bot
I am using selenium for python to create a simple liker bot for instagram. The idea is to like the first photo of a tag (in this example is "sunset"). It correctly selects the first photo but does not insert a like. The code is as follows: from selenium import webdriver from selenium.webdriver.chrome.options import Options from time import sleep import User_data chrome_options=Options() chrome_options.add_argument('--lang=en') browser = webdriver.Chrome(chrome_options=chrome_options) browser.get("https://www.instagram.com/accounts/login/") sleep(1) browser.find_element_by_name("username").send