What can we do for an element which requires wait? How can we use operator => for the statement like wait.Until(SeleniumExtras.WaitHelpers.ExpectedConditions.ElementToBeClickable(By.Name("btnSubmit"))); ??
you can extract that line with waitHelpers into a method called WaitUntilClickeable, which receives a By type parameter and returns the clickeable element, and declare the element like IWebElement SubmitBttn => WaitUntilClickeable(By.Name("btnSubmit"))
Thank you!
Best support Karthik thnQ
Awesome, thx.
What can we do for an element which requires wait? How can we use operator => for the statement like
wait.Until(SeleniumExtras.WaitHelpers.ExpectedConditions.ElementToBeClickable(By.Name("btnSubmit")));
??
you can extract that line with waitHelpers into a method called WaitUntilClickeable, which receives a By type parameter and returns the clickeable element, and declare the element like IWebElement SubmitBttn => WaitUntilClickeable(By.Name("btnSubmit"))