Page + HTML:
In the menu item on the left, I have 9 menu items in the list. I am able to get selenium to click on the first 4, up until the id=item-3.
But after and including id=item-4, Selenium just can't click, and gives me a No Such Element Exception.
I am clicking like standard:
element = driver.find_element(By.ID, "item-3")
element.click()
Why can I not do:
element = driver.find_element(By.ID, "item-4")
element.click()
and through to item-8?
I thought at first I need to scroll down, because maybe it also needs to be visible on screen:
But I tried to scroll and it still didn't work.
Am I missing something obvious? I tried XPATH, but it also gives the same results.