Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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