Skip to content
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

Added 'Click Element On Coordinates' keyword #195

Closed
wants to merge 1 commit into from
Closed

Added 'Click Element On Coordinates' keyword #195

wants to merge 1 commit into from

Conversation

pierreroth64
Copy link

The "old" Selenium library had a coordinates optional argument for the Click Element keyword. My proposal is to add a new keyword which takes x and y offsets.

@pierreroth64
Copy link
Author

I will try to add an acceptance test soon.

@ombre42
Copy link
Contributor

ombre42 commented Apr 19, 2013

Pending pull request #137 for 'Click Element At Coordinates' is the same as this except the offset is from the center of the element instead of the top-left corner. Perhaps these two use cases could be combined into a single keyword that takes an extra argument relating to what to use as the base for the offset?

@pierreroth64
Copy link
Author

You're right. I'm sorry, i didn't checked the existing pull requests. I'll try to propose an extra keyword to be able to click from the center or from the top left. I close this pull request for now.

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

Successfully merging this pull request may close these issues.

2 participants