0

Scenario is moving to element by scrolling down automatically to the element and then clicking it.

from selenium import webdriver
from selenium.webdriver.common.action_chains import ActionChains

(ActionChains(self.browser)
         .move_to_element(self.browser.find_element_by_css_selector(btn_selector))
         .click()
         .perform())
ishandutta2007
  • 16,676
  • 16
  • 93
  • 129

0 Answers0