Open xrkk opened 6 months ago
That basically means: Your element doesn't have any size and therefore can't be clicked on:)
thanks @Lukas-drz for the provided additional information Looks like content size sometimes can be 0, with the element still being visible. see following:
{'content': np.array([
[673. , 224.76470947],
[673. , 224.76470947],
[673. , 240.76470947],
[673. , 240.76470947]]),
'padding': array([
[665. , 216.76470947],
[681. , 216.76470947],
[681. , 248.76470947],
[665. , 248.76470947]]),
'border': array([
[665. , 216.76470947],
[681. , 216.76470947],
[681. , 248.76470947],
[665. , 248.76470947]]),
'margin': array([
[665. , 221.76470947],
[676. , 221.76470947],
[676. , 248.76470947],
[665. , 248.76470947]]),
'width': 16, 'height': 32}
I confirm that this bug is happening to me also and the element have a size and position. I do not understand why that happens.
I confirm that this bug is happening to me also and the element have a size and position. I do not understand why that happens.
huh I can give it a try. Generally tho, this occurs when the area of element is 0 I plan to refactor that stuff anyways
in my case, this happens when the element is not visible because the browser window is too small so the page switches to mobile layout (responsive web design)
this could also happen if the element is in some background layer and the click is swallowed by some foreground layer (css popup)
for debugging, disable headless
insert await asyncio.sleep(99999999)
and try to click that thing...
in my case, this happens when the element is not visible because the browser window is too small so the page switches to mobile layout (responsive web design)
this could also happen if the element is in some background layer and the click is swallowed by some foreground layer (css popup)
for debugging, disable headless insert
await asyncio.sleep(99999999)
and try to click that thing...
@milahu Yep, those are the cases, which I wouldn't consider a bug. However, https://github.com/kaliiiiiiiiii/Selenium-Driverless/issues/134#issuecomment-1859146706 clearly could be clicked on maually, & automated as well.
Way to go will be choosing tho most inner-layer, which still has a area to click on.
Code:
Tracelog:
Selenium-Driverless Version:
1.7