arsenic
arsenic copied to clipboard
Add "element click intercepted" error
As shown here, there is a "element click intercepted" error possible, but there is no ElementClickIntercepted
in arsenic.errors
, so this error is raised as UnknownArsenicError
. This is as easy as adding ElementClickIntercepted = create("element click intercepted", 35)
to errors.py
. Or with another value for code
, whatever this argument mean.
As a workaround, I added this line to my own module, so that I was able to catch this exact error.
PR is most welcome! P.S. how to trigger this error? How to test the change?
how to trigger this error?
Element Click command could not be completed because the element receiving the events is obscuring the element that was requested clicked.