SeleniumHQ / selenium-ide

Open Source record and playback test automation for the web.
https://selenium.dev/selenium-ide/
Apache License 2.0
2.79k stars 760 forks source link

Clicks inside canvas don't work in selenium-side-runner #672

Open rebrov44 opened 5 years ago

rebrov44 commented 5 years ago

🐛 Bug Report

When launched through selenium-side-runner, "click at" command with the given coordinates clicks to the center of the canvas, ignoring the coordinates.

With that, when starting command in Selenium IDE, everything is good

Example

Selenium IDE command: click at | xpath=//div/canvas | 415,100

Step in json file: { "id": "4f43da32-6234-4d63-66c7-2d8347b674af", "comment": "", "command": "clickAt", "target": "xpath=//div/canvas", "targets": [] "value": "415,100" }

Expected behavior

When running through selenium-side-runner clicks inside the canvas at given coordinates

Environment

OS: Windows 10 Selenium IDE Version: 3.6.0 Selenium SIDE Runner Version: 3.5.3

Node version: 10.15.1

Browser: Browser Version: 70.0.3538.67 (64-bit) (Chrome Driver)

corevo commented 5 years ago

This is a long standing issue, we may be able to provide a workaround, but under the normal circumstances the issue comes from chromedriver.

rebrov44 commented 5 years ago

This is a long standing issue, we may be able to provide a workaround, but under the normal circumstances the issue comes from chromedriver.

If i can get a workaround, i will be very grateful to you.

vmarkovnikov commented 5 years ago

We are patiently waiting for a workaround. Please do not forget about it.

ariesomers commented 5 years ago

If there is a working workaround available or issue fixed - it would be great.

corevo commented 5 years ago

We are not actively working on a workaround atm, currently our stand is that the issue stems from chromedriver not implementing the actions API, when they do it will be fixed on our end.

On the off chance that we will find a workaround for this issue we will put that in, but it is not currently in plans, the plan is to wait for chromedriver to be fixed.

Boltzmann commented 4 years ago

The linked issue that chromedriver is not implementing the actions api is fixed since chromedriver 76. The actual chromedriver is 83. Is there any update on this issue here?

AlexeyPlodenko commented 3 years ago

Bump

mjia-tripactions commented 1 week ago

Any update?

toddtarsi commented 1 week ago

Not sure if one is needed, is this broken in v4?