Created
May 24, 2017 13:59
-
-
Save angelovstanton/1dcfa1918cee115ed0c523faa0592b6b to your computer and use it in GitHub Desktop.
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