Cannot access shadow element with seleniumbase #1869
-
Hello,
I am trying the access the button.pagination__next-prompt (highlighted) which is a shadow element. I am using the code: but, it cannot access the element. The error is thrown as: What am I doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Usually with But otherwise, shadow elements are accessed via the |
Beta Was this translation helpful? Give feedback.
Usually with
ElementClickInterceptedException: Message: element click intercepted: Element is not clickable at point
there is another element that would receive the click (one that is likely hovering over the element you want in the UI). You need to either remove or hide that other element that is covering over the element you want. It's probably an overlay of some kind.But otherwise, shadow elements are accessed via the
::shadow
selector, as you have done, with more examples here: