Closed lukeis closed 8 years ago
Oh, forgot: im on C#. Thats why i use remotewebdriver on Opera instead of the Java driver
of Opera
Reported by moritzbahr
on 2013-06-18 09:44:29
Seems there is an issue with Visual Studio (2010). When setting a breakpoint while running
the test (before the sendkeys() method) and therefore stop the program progress, the
issue above occurs. When not doing this, the keys are sended as expected.
Reported by moritzbahr
on 2013-06-18 10:01:10
So is this issue resolved?
-will
Reported by williamalexandergreer
on 2013-06-18 14:20:54
I just upgraded the WebDriver C# bindings from 2.30.0 to 2.33.0 and noticed several
instances where the SendKeys method isn't entering information into the Chrome browser
(version 27.0.1453.116 m).
The ChromeDriver console looks like the SendKeys method completes
[114.036][INFO]: received WebDriver request: POST /session/c2e5fe59fdadf7d53528b53a95157a/element/.83335912615965:2/value
{
"value": [ "F", "i", "l", "e", "n", "a", "m", "e" ]
}
[114.038][INFO]: waiting for pending navigations...
[114.038][INFO]: done waiting for pending navigations
[114.124][INFO]: waiting for pending navigations...
[114.125][INFO]: done waiting for pending navigations
[114.125][INFO]: sending WebDriver response: 200 {
"sessionId": "c2e50f0e59fdadf7d53528b53a95157a",
"status": 0,
"value": null
}
But nothing happens within the browser. I have checked the XPath value used to get
the By reference ("//*[text()='File name']//following::input[1]") and other methods
for FindElement, such as and Click, work. SendKeys even works in other instances.
The site I was testing against did not change during the WebDriver upgrade.
Here is an example of the code I'm using to enter text into an element:
driver.FindElement(by).SendKeys( text );
Reported by thekyle
on 2013-07-07 17:29:35
Quick update, looks like it's not WebDriver. I just reverted the ChromeDriver from version
2.0 to 26.0.1383.0 and the issue went away.
Reported by thekyle
on 2013-07-07 17:36:12
Hi!
@moritzbahr - is the initial issue resolved ?
@thekyle - please create another issue. This is about Opera.
Reported by a.u.savchuk
on 2013-07-21 14:13:19
NeedsClarification
@ a.u.savchuk
no, the issue is not resolved. under the circumstances to debug the test. the opera
window obviously is mandatory to need focus with no interruption, so debugging it/using
breakpoints is not possible with VS, even if you manually give back the focus. i also
tried some js-code to focus to the element with no success.
Reported by moritzbahr
on 2013-07-21 14:39:49
Is this issue still actual? The attached screenshot shows that *in general* sendKeys
is nor broken in Opera, it can fill regular and password fields. I can also execute
the scenario step by step in debugger with Opera in background -- and the result is
the same, it works.
The scenario was (in Java):
WebDriver driver = new RemoteWebDriver(DesiredCapabilities.opera());
driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
driver.get("https://twitter.com/");
driver.findElement(By.id("signin-email")).sendKeys("tester@test.com");
driver.findElement(By.id("signin-password")).sendKeys("mypassword");
Please provide a scenario and a sample page where we can reproduce the issue.
Reported by barancev
on 2013-11-02 14:27:49
Issue 5096 has been merged into this issue.
Reported by barancev
on 2013-11-02 16:22:17
In ant case, it is moved to OperaDriver tracker: https://github.com/operasoftware/operadriver/issues/86
Reported by barancev
on 2013-11-02 17:21:48
WontFix
Reported by luke.semerau
on 2015-09-17 18:17:26
Originally reported on Google Code with ID 5789
Reported by
moritzbahr
on 2013-06-18 09:15:42