# import webdriver from selenium import webdriver # create webdriver object from time import sleep, strftime from random import randint import pandas as pd from selenium.webdriver.common.by import By
chrome_driver_path = 'YOUR DONWLOAD ROOOTr' # Change this to your own chromedriver path! webdriver = webdriver.Chrome(executable_path=chrome_driver_path) sleep(1)
Anyone got any ideas to make selectors to enahnce this that don't break as easily with ui updates because this seems to rely on a specific div order. To start with I'd say targetting input[type="password"] would allow us to find the password field and from there we could traverse up and then down again.