Message: stale element reference: element is not attached to the page document
问题 Im trying to automate a task we do almost daily. I read that python in combination with selenium would be perfect to approach this task. Any advice is welcome :) See my code below. from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC usernameStr = 'USERNAME' passwordStr = 'PASSWORD' browser = webdriver.Chrome() browser.get('https://www.partner.co.il/he