Skip to content

Instantly share code, notes, and snippets.

@angelovstanton
Created June 19, 2016 14:03
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/5c45d938eac7b9e59a112cb8b3cbc88a to your computer and use it in GitHub Desktop.
Save angelovstanton/5c45d938eac7b9e59a112cb8b3cbc88a to your computer and use it in GitHub Desktop.
public partial class BingMainPage
{
public IElement SearchBox
{
get
{
return this.ElementFinder.Find<IElement>(By.Id("sb_form_q"));
}
}
public IElement GoButton
{
get
{
return this.ElementFinder.Find<IElement>(By.Id("sb_form_go"));
}
}
public IElement ResultsCountDiv
{
get
{
return this.ElementFinder.Find<IElement>(By.Id("b_tween"));
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment