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

How to do mouse wheel in protractor #5327

Open
19matan opened this issue Oct 2, 2019 · 2 comments
Open

How to do mouse wheel in protractor #5327

19matan opened this issue Oct 2, 2019 · 2 comments

Comments

@19matan
Copy link

19matan commented Oct 2, 2019

Hi there!
how can i do a mouse wheel in protractor, for testing zoom in or zoom out on map?

@IgorSasovets
Copy link
Contributor

Hi, @19matan ! I'm afraid that it'd be difficult to implement. You can try to use a browser.executeScript function or just use mouse click (if there are special buttons for zoom in and zoom out). Another one option is to use a key combination, for example on google maps you can zoom in/zoom out using Ctrl++ or Ctrl + -. Hope it will help you.

@IgorSasovets
Copy link
Contributor

Also, please take a look at this stackoverflow issue

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