Message: move target out of bounds

44 views
Skip to first unread message

luv sachdeva

unread,
Jul 29, 2020, 4:07:51 AM7/29/20
to Selenium Users

My page has lots of checkboxes. I am trying to click all of them, one by one.
I have all the web elements in an array.
I am able to click two checkboxes that are on top of the page.
To click the others I have to scroll down to the page and click and then scroll down and click and so on.

I am using the Action Driver. But still not able to Click.
I am using Selenium Web driver and writing code in Python.
specialties array has a web element that I locate .

specialties = [Benign_Hematology, Cardiology, Dermatology, Diabetes, Eye_Care, Gastroenterology, Oncology, Primary_Care, Respiratory_Medicine, Urology]
for item in specialties:
time.sleep(1)
actions = ActionChains(driver)
time.sleep(1)
actions.move_to_element(item).perform()
item.click(

Reply all
Reply to author
Forward
0 new messages