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
public class Trade_Me_logon | |
{ | |
// Define the element and how will we find it ? | |
[FindsBy(How = How.Id, Using = "nz.co.trademe.trademe:id/editTextLoginEmail")] | |
IWebElement LoginField { get; set; } | |
// Do some action on the element | |
public void Enter_UserName(string text) | |
{ | |
LoginField.SendKeys(text); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment