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

Swipe keyword documentation should be updated #123

Closed
rz-robsn opened this issue Aug 10, 2016 · 2 comments
Closed

Swipe keyword documentation should be updated #123

rz-robsn opened this issue Aug 10, 2016 · 2 comments

Comments

@rz-robsn
Copy link

Since appium 1.5, the end_x and end_y parameters of the Swipe keyword on iOS refer to coordinates relative to the start_x and start_y parameters. Before 1.5, the end_ parameters used to refer to the relative to the top left corner of the screen.

The end_x and end_y parameters should be renamed to offset_x and offset_y and the keyword documentation should be updated accordingly.

See here for the counterpart of this issue on the appium python-client repo.

@serhatbolsu
Copy link
Owner

You are correct @rz-robsn this has changed with 1.5.x . We also had problem figuring this out.
Please send a pull request if you have time: also make sure to mention an example with numeric entry, such as : ${350} since robotframework default is always string

@serhatbolsu
Copy link
Owner

Fixed with #125

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

No branches or pull requests

2 participants