htmlelements icon indicating copy to clipboard operation
htmlelements copied to clipboard

Actions for typified elements

Open AlexanderTolmachev opened this issue 12 years ago • 4 comments

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

AlexanderTolmachev avatar Jan 24 '13 13:01 AlexanderTolmachev

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

ham1 avatar Jun 10 '16 15:06 ham1

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

AlexanderTolmachev avatar Jun 10 '16 16:06 AlexanderTolmachev

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

ham1 avatar Jun 10 '16 19:06 ham1

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();

AlexanderTolmachev avatar Jun 14 '16 09:06 AlexanderTolmachev