title: Unable to find an element in Browser of the Android emulator using Appium and C#
body: <p>I want to automate mobile web site testing on Android emulator using c# and Appium. There is a simple test scenario I want to automate for the start:<br>
  1. Start Browser<br>
  2. Find an element<br>
  3. Clear it<br>
  4. Send keys<br></p>
  
  <p>I've got a problem with the second step. Every time MSTest tries to execute FindElementById line in the code below, I get the error:
  "An element could not be located on the page using the given search parameters."</p>
  
  <pre><code>[TestClass]
  public class UnitTest1
  {
      private DesiredCapabilities _capabilities;
      private AndroidDriver _driver;
  
      public void InitializeDriver()
      {
          Console.WriteLine("Connecting to Appium server");
          _capabilities = new DesiredCapabilities();
  
          _capabilities.SetCapability("deviceName", "test_02");
          _capabilities.SetCapability(CapabilityType.BrowserName, "Chrome");
          _capabilities.SetCapability(CapabilityType.Version, "5.0.1");
          _capabilities.SetCapability(CapabilityType.Platform, "Android");
  
          //Application path and configurations
          _driver = new AndroidDriver(new Uri("http://127.0.0.1:4723/wd/hub"), _capabilities);
      }
  
      [TestMethod]
      public void TestMethod1()
      {
          InitializeDriver();
  
          var element = _driver.FindElementById("com.android.browser:id/url");
          element.Clear();
          element.SendKeys(@"http://stackoverflow.com/");
      }
  }
  </code></pre>
  
  <p>Input string for the method I've got from UIAutomator that is shown below.</p>
  
  <p><img src="https://i.imgur.com/knktmtq.png" alt="1" title="Hierarchy View"></p>
  
  <p>I tried several combinations for the FindElementById input method:<br>
  "com.android.browser:id/url"<br>
  "id/url"<br>
  "url"<br>
  but no luck.</p>
  
  <p>My environment:<br>
  Windows 8.1<br>
  Appium 1.3.4.1<br>
  ChromeDriver 2.14.313457<br>
  Android Device Monitor 24.0.2<br></p>