Comments (3)
@keinhaar looks like you are reaching some of the not yet implemented corners of the js support.
The first one (flag "u") is a problem of Rhino itself, but we are already working on this. Maybe there is hope to have it at the end of the year.
The second more or less says that HtmlUnit DomNodes are not supporting the method lookupPrefix() right now - or that you are the first one using this methods ;-)
Usually it is possible to add support for such methods. It will help if you can provide your findElements.js or even more details about your solution to give me the chance to write a unit test.
And the bad news at the end... i will be out for the next two weeks - to you need this soon or is it ok to wait a bit?
from htmlunit-driver.
Thanks for the fast response.
The findElements.js is contained in selenium distribution in the jar selenium-support.jar or on github:
https://github.com/SeleniumHQ/selenium/tree/d1a59128b785ffa5d76a4a11b4663250f52197a1/rb/lib/selenium/webdriver/atoms
There is nothing special in my tests, because i'm just beginning to automate. The lookupPrefix() method is called from the findElements.js script, which is injected by selenium when using seleniums RelativeLocator.
I understand that i can't expect a quick fix. I'm totally fine to wait a bit ;-)
from htmlunit-driver.
Ok, looks like i have sufficient info for making a local test case - will inform you about the progress.
Thanks a lot for reporting this.
from htmlunit-driver.
Related Issues (20)
- NoSuchMethodError after quitting or closing driver and then re-calling it? HOT 6
- Angular support for htmlunitdriver ? HOT 1
- Breaking API changes in 4.8.1 HOT 9
- getDomProperty("value") does return "null" whereas getAttribute("value") returns a value HOT 9
- Selenium driver HOT 1
- Test HOT 1
- To ignore - Error during JavaScript execution HOT 3
- How to setting proxy authorization with username/passwd in ubuntu-server 18.04 env HOT 8
- org.htmlunit.ScriptException: SyntaxError: Empty JSON string HOT 9
- HtmlUnitDriver needs to provide WebDriverInfo and DriverService service providers for Selenium 4 Grid HOT 4
- Threading problem when using multiple frames
- Implement HasAuthentication to be able to use authentication HOT 1
- elem.getAttribute("src") should return an empty string if no src attribute is present
- elem.getAttribute("xxx") should return null if no 'xxx' attribute is present
- XPath Not Working Via document.evaluate HOT 4
- Rhino not compiling any JavaScript when ScriptException encountered HOT 7
- Runasync causing deadlock?
- Fetching innerHTML HOT 2
- Script used by RemoteWebElement.isDisplayed() returns 'true' for elements that aren't displayed HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from htmlunit-driver.