I am using selenium webdriver over C# and I am using page object module. Now I need a syntax to use in explicit wait given that I already have the webelement in hand.
[FindsBy(How = How.Id, Using = "Passwd")]
public IWebElement Password {get;set;}
[FindsBy(How = How.Id, Using = "signIn")]
public IWebElement Signin { get; set; }
I need to wait until I find the Element Password.
Before using this module I was using :
WebDriverWait wait = new WebDriverWait(driver.driver, TimeSpan.FromSeconds(Time));
wait.Until(ExpectedConditions.ElementExists(by));
Now I need to use the Element in hand.