-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chrome 71 [ClearText does not work for REACT input box] #6741
Comments
The same an issue when using pytest. |
Yes, this input is tricky...
|
In debugger, step by step, you can see that selenium clears the input, but later the application restores its value. The reason is simple: |
I am using 'ele.clear();' not the Action class!! The same works properly on older Chrome browser. You think I should raise this in Chromium project? |
That's exactly what I told, Yes, it's a driver (e.g. chromedriver) issue, but may be it's a specification issue too (https://w3c.github.io/webdriver/#element-clear) Try to raise an issue on chromedriver tracker, let them see if it is an implementation or a specification issue. |
The behaviour was logged on Chromium(Chromedriver)[2702] |
barancev можеш дать линк на автомейш чат? раньше юзал, но потерял |
Using the following workaround resolved the behaviour-
|
I am having angular input tag , which wasn't getting cleared using driver.findElement().clear() in chrome V71 (chrome driver 2.45) . I used below code , which worked for me
|
Hello friends!
And yesterday i have created my own solution, which works:
and another variant, still works:
where
But for pure selenium my solution should also work. I hope it would help someone someday. Best regards, |
🐛 Bug Report
While running test against a REACT webpage on Chrome 71 + Windows 10, 'clear text' command does not clear the input box contents.
To Reproduce
Detailed steps to reproduce the behavior:
[In Chrome 71 + Windows 10]
Expected behavior
The text should be cleared from the text box.
Test script or set of commands reproducing this issue
You can use the following GIST to replicate the issue- https://gist.github.com/ckzgraphics/418cf54ed3a60f057fcc0834e9bef010
BrowserStack Session [executed on REACT webpage][FAILED]- a21750b06f9ec90ccc35c62c7f83da534bb7b253
Selenium Logs (for the above session)- https://gist.github.com/ckzgraphics/1968040180812899dc771df69ff5f7eb
BrowserStack Session [executed on SIMPLE webpage][PASSED]- e3f6831f153a002d874a6fcc50ee37f8feeaadb2
Selenium Logs (for the above session)- https://gist.github.com/ckzgraphics/1589742d8ca96836018237e1057548e9
Environment
OS: Windows 10
Browser: Chrome
Browser version: 71
Browser Driver version: 2.44
Language Bindings version:
java version "1.8.0_161"
Java(TM) SE Runtime Environment (build 1.8.0_161-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode)
Selenium Grid version (if applicable): 3.14.0
The text was updated successfully, but these errors were encountered: