ericmckean / chromedriver

Automatically exported from code.google.com/p/chromedriver
0 stars 0 forks source link

SendKeys(Keys.Tab) does not work #835

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In many of my test scenarios, we tab off a field so that the correct refreshes 
are triggered on the page.  This is no longer working with ChromeDriver2, in 
that the Keys.Tab is not tabbing off of the field to the next field, as with 
the original ChromeDriver.

C# Test Script that replicates the issue:

IWebDriver driver = new 
ChromeDriver();         driver.Navigate().GoToUrl(textboxes.html");
IWebElement element = driver.FindElement(By.XPath("//input"));
element.SendKeys("test value");
element.SendKeys(Keys.Tab);

The expected behavior is that the 2nd textbox would then show focus, since it 
was tabbed to. However, focus remains on the first checkbox.

What version of the product are you using? On what operating system?
ChromeDriver = v2.10.267521 
Chrome =  35.0.1916.153
OS = Win7

Original issue reported on code.google.com by binken....@gmail.com on 27 Jun 2014 at 6:19

Attachments:

GoogleCodeExporter commented 9 years ago
Bad example, please close this, I will update later one

Original comment by binken....@gmail.com on 27 Jun 2014 at 6:25

GoogleCodeExporter commented 9 years ago

Original comment by samu...@chromium.org on 21 Feb 2015 at 12:18

GoogleCodeExporter commented 9 years ago

Original comment by gmanikp...@chromium.org on 3 Mar 2015 at 5:40