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

Actions for typified elements #12

Open
AlexanderTolmachev opened this issue Jan 24, 2013 · 4 comments
Open

Actions for typified elements #12

AlexanderTolmachev opened this issue Jan 24, 2013 · 4 comments

Comments

@AlexanderTolmachev
Copy link
Member

It will be very useful to provide actions for typified elements like WebDriver Actions for WebElements.

@ham1
Copy link
Contributor

ham1 commented Jun 10, 2016

Any more info on this? The original link is now 404.

@AlexanderTolmachev
Copy link
Member Author

Yes, WebDriver repo has been moved. Here is the class I mentioned above: Actions.java.

@ham1
Copy link
Contributor

ham1 commented Jun 10, 2016

Is what you were thinking now possible since TypifiedElements now implement WebElement? See #121

@AlexanderTolmachev
Copy link
Member Author

Yes, you can use WebDriver Actions with TypifiedElements since #121 is done.
But it's not type safe. I mean, you are not preserved from calling something like this:

new Actions(driver).sendKeys(button, "some text").perform();

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