skip to Main Content

Selenium WebDriver crashes when I try to get innerText from an element container – Telegram API

I am trying to get the innerText from all themessage.spoilers-container, but when I scroll up the webpage, the program crashes, and give me an error. Code: from selenium.common.exceptions import NoSuchElementException from selenium.webdriver.common.by import By from selenium.webdriver.common.keys import Keys def find_message_container(driver):…

VIEW QUESTION
Back To Top
Search