Last active
August 19, 2016 13:27
-
-
Save zuhrig/ad5849f2106a469913ece4b23cfb0a3a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var webElement = element(locator); | |
// Click en el elemento | |
webElement.click(); | |
// Simula el teclado manda valores. | |
webElement.sendKeys('my text'); | |
// Limpia el contenido. Normalmente de un input | |
webElement.clear(); | |
// Trae el valor de un atributo. normalmente de un input. | |
webElement.getAttribute('value'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment