-
Notifications
You must be signed in to change notification settings - Fork 16
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
"Textfield Value Should Be" fails with NPE on input type=url #52
Comments
What version you were using? Those lines doesn't seem to be matching at least the latest one. Same issue still seems to be in later version, as it assumes that elements is always found with the value. But that error shouldn't be coming if the locator of the element is correct. |
2.53.1.1 |
There was clear issue at the code (comes from the original logic of method that gets the value), but has to check if the fix should be done to that method all places using it (as that method is also keyword). Quite probably that version is not going to be updated, as Selenium 2 has been replaced with Selenium 3 almost from the beginning of this fork. |
Thanks! I'll check it again after migrating to Selenium 3 and report back. |
I've tried to roll back my workaround and tests started to fail, so the issue is still here. I tested on 3.141.59.2653 |
Hi. I think that method 'getCssValue' can help you to find 'innerText' from css Or you can extend class https://github.com/Hi-Fi/robotframework-seleniumlibrary-java/blob/develop/src/main/java/com/github/markusbernhardt/seleniumlibrary/CustomRobotDriverElement.java |
The issue is the same as MarkusBernhardt/robotframework-selenium2library-java#92:
The keyword
Textfield Value Should Be
fails with NullPointerException, when it's used for getting a value from the<input type=url>
:The text was updated successfully, but these errors were encountered: