from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.common.keys import Keys
from time import sleep
url = "https://www.instagram.com/"
def main():
browser = webdriver.Chrome()
browser.get(url)
sleep(5)
username_input = browser.find_element(By.NAME, "username").send_keys(username)
print(username_input)
[OUT] None
if __name__ == '__main__':
main()