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