Message: element not interactable: element has zero size
ㅡ_ㅡ 이놈때문에 2021년 새해를 디버깅하면서 맞이했다
try:
btn = self.driver.find_element_by_xpath(<여기에xpath>))
self.driver.implicitly_wait(5)
except:
element = WebDriverWait(self.driver, 20).
until(EC.presence_of_element_located((By.XPATH, <여기에xpath>))))
self.driver.execute_script("arguments[0].click();", element)
'Python > Python__Error' 카테고리의 다른 글
ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly (1) | 2021.04.04 |
---|