I'm trying to extend Selenium's By class found here.
public static class SeleniumExtensions
{
  public static By Text(this By by, string textToFind)
  {
    return By.XPath("");
  }
}
But I can't find my extension on the By class when I do the above.
 
    