I ran this code to login into website of journals with my institutional access:
import pandas as pd
import requests
from bs4 import BeautifulSoup
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.common.by import By
from selenium.webdriver.common.action_chains import ActionChains
from selenium.webdriver.support.ui import Select
import undetected_chromedriver as uc
import time
import os
output = pd.read_excel("C:\\Users\\97254\\Downloads\\output.xlsx")
url = "https://www.tandfonline.com/loi/nvpp20"
driver = uc.Chrome()
driver.maximize_window()
driver.get(url)
time.sleep(5)
driver.find_element(By.CLASS_NAME,"sign-in-link").click()
time.sleep(5)
driver.find_element("tag name","a").find_element("xpath",'//*[@id="frmLogin"]/div[2]/ul/li/a').click()
time.sleep(3)
elem = driver.find_element("xpath",'//*[@id="shibboleth_search"]/div/input').send_keys("Bar-Ilan University")
but google chrome didn't pass me to the identification by password screen. I got kicked out of website , with this output on python :output. has this occured because I used undetected_chromedriver library? How do I handle this to move on to password identification screen? Thanks