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

Adding touch screen funtionality to ChromeDriver #2694

Merged
merged 2 commits into from
Oct 3, 2016

Conversation

kdaimiel
Copy link
Contributor

It seems that ChromeDriver supports touch actions so I have added this functionality to be able to run this kind of actions in a browser with Selenium. This has come because I had to test hybrid apps with a touch screen laptop.

@eduramiba
Copy link

+1


@Override
public TouchScreen getTouch() {
return new RemoteTouchScreen(this.getExecuteMethod());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would be better to store as a local private variable (like locationContext / webStorage) and only inialize it once on construction.
also fix the indentation here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes have been made. Thank you

@lukeis lukeis merged commit 87f0371 into SeleniumHQ:master Oct 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants