seleniumhq.github.io icon indicating copy to clipboard operation
seleniumhq.github.io copied to clipboard

[🐛 Bug]: [Documentation] : Javascript code snippet is missing for Mouse Events

Open himanshu-sin opened this issue 3 years ago • 6 comments

What happened?

Steps:

1.Navigate to https://www.selenium.dev/documentation/webdriver/actions_api/mouse/ 2.Click on Javascript tab for any mouse event .

Actual Result: Sample javascript code is missing

Expected Result: Sample Javascript code should be present.

What browsers and operating systems are you seeing the problem on?

Browser : Chrome OS : MAC

himanshu-sin avatar Jun 23 '22 11:06 himanshu-sin

Would you like to send a PR to include the code?

diemol avatar Jun 23 '22 11:06 diemol

@diemol , I don't want to raise the PR . I am requesting if other who is well versed with javascript to raise the PR.

himanshu-sin avatar Jun 23 '22 12:06 himanshu-sin

@harsha509 do you know how these ones can be implemented?

  • https://www.selenium.dev/documentation/webdriver/actions_api/mouse/#back-click
  • https://www.selenium.dev/documentation/webdriver/actions_api/mouse/#forward-click

diemol avatar Aug 19 '22 15:08 diemol

Hi @diemol,

I have added support in JS bindings with commit https://github.com/SeleniumHQ/selenium/commit/845e47d43f03d6638ae550c805235defbb69c0d9

Added code sample here https://www.selenium.dev/documentation/webdriver/actions_api/mouse/#back-click https://www.selenium.dev/documentation/webdriver/actions_api/mouse/#forward-click

NOTE: The tests are skipped as the code sample depends on the next release

Thanks, Harsha

harsha509 avatar Aug 21 '22 07:08 harsha509

Thank you!

diemol avatar Aug 22 '22 07:08 diemol

We still have some code examples to complete, but there is progress.

diemol avatar Aug 22 '22 10:08 diemol

Updated all code samples accordingly in docs!

Closing as resolved!

harsha509 avatar Dec 29 '22 13:12 harsha509

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

github-actions[bot] avatar Jan 29 '23 01:01 github-actions[bot]