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
using OpenQA.Selenium; | |
namespace HuddlePageObjectsElementsStringProperties.ImprovedVersion | |
{ | |
public partial class BingMainPage | |
{ | |
public IWebElement SearchBox | |
{ | |
get | |
{ | |
return _driver.FindElement(By.Id("sb_form_q")); | |
} | |
} | |
public IWebElement GoButton | |
{ | |
get | |
{ | |
return _driver.FindElement(By.Id("sb_form_go")); | |
} | |
} | |
public IWebElement ResultsCountDiv | |
{ | |
get | |
{ | |
return _driver.FindElement(By.Id("b_tween")); | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment