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

RightClick #280

Closed
Elexy opened this issue Nov 21, 2013 · 2 comments
Closed

RightClick #280

Elexy opened this issue Nov 21, 2013 · 2 comments

Comments

@Elexy
Copy link

Elexy commented Nov 21, 2013

I know I have to use ActionSequence with a click()
But I can find where to get the webdriver.Button object from.

I now hacked it by adding:

global.Button = webdriver.Button

to runner.js, that makes it work, but is not the way, is it?

#281

@juliemr
Copy link
Member

juliemr commented Nov 21, 2013

You want
protractor.Button.

Everything from the webdriver namespace (including webdriver.Button) is made available on the protractor global variable.

@juliemr juliemr closed this as completed Nov 21, 2013
@Elexy
Copy link
Author

Elexy commented Nov 21, 2013

how did i miss that? i thought had tried this.

Thanks

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

No branches or pull requests

2 participants