Skip to content

Instantly share code, notes, and snippets.

@angelovstanton
Created May 24, 2017 13:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save angelovstanton/1dcfa1918cee115ed0c523faa0592b6b to your computer and use it in GitHub Desktop.
Save angelovstanton/1dcfa1918cee115ed0c523faa0592b6b to your computer and use it in GitHub Desktop.
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