trying to login instagram from chrome but its instantly closes the window here is the code
url = "https://www.instagram.com"
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.chrome.options import Options
from selenium.webdriver.chrome.service import Service
import time
from bs4 import BeautifulSoup
driver = webdriver.Chrome()
driver.get(url)
driver.maximize_window
click_button = driver.find_element(value="a9-- _ap36 _a9_0")
click_button.click
time.sleep(2000)