Skip to content

[Feature Request]: Is it possible to control the mouse by events, press, drag and release? #104

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
2 tasks done
cleitonleonel opened this issue Apr 4, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@cleitonleonel
Copy link
Collaborator

Checklist before requesting

  • I have searched for similar feature requests and didn't find a duplicate.
  • I have checked the documentation to confirm this feature doesn't already exist.

Problem Statement

I'm trying to move the mouse around the screen to simulate more human movement.

Proposed Solution

Something similar to the code snippet below:

action = ActionChains(driver)
action.click_and_hold(button).perform()
action.move_by_offset(move_x, 0).perform()
action.release().perform()

This resource was cited in this discussion https://github.com/orgs/autoscrape-labs/discussions/103

Alternatives Considered

No response

Additional Context

No response

Importance

Nice to have

Contribution

I could help with parts of the implementation

@cleitonleonel cleitonleonel added the enhancement New feature or request label Apr 4, 2025
@thalissonvs
Copy link
Member

hmm, nice idea! ill work on it in this weekend

@cleitonleonel
Copy link
Collaborator Author

hmm, nice idea! ill work on it in this weekend

I've been looking at the Selenium codes and it seems to be something very useful and would make the library much more complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants