Код: Выделить всё
change_rows_el = driver.find_element(By.CSS_SELECTOR, 'select[aria-label="rows per page"')
ActionChains(driver).scroll_to_element(change_rows_el)
select = Select(change_rows_el)
select.select_by_value("50")
Код: Выделить всё
selenium.common.exceptions.ElementClickInterceptedException: Message: Element is not clickable at point (1067,951) because another element obscures it
Код: Выделить всё
element = driver.find_element(By.ID, "element-id")
driver.execute_script("arguments[0].click();", element)
Обратите внимание, что я пытаюсь использовать Scroll_to_element, но это не имеет значения, поскольку элемент select уже находится в области просмотра.
Снимок экрана ниже (выбор находится в разделе «Реклама от Google»):

Подробнее здесь: https://stackoverflow.com/questions/785 ... t-by-value