Menu

#141 CSS Selector support to query HtmlUnit's DOM

closed
None
5
2012-10-21
2009-04-27
No

I wanted to know if there are any plans in adding support for CSS selector type queries to the HtmlUnit's DOM next to current XPath support. Considering HtmlUnit seems to support jQuery, maybe adding support for CSS selectors through embedding jQuery into your DOM javascript model might be a good idea. Thoughts?

Discussion

  • Marc Guillemot

    Marc Guillemot - 2009-04-27

    Can you provide an example of the API that you would like to see in HtmlUnit?

     
  • Ahmed Ashour

    Ahmed Ashour - 2009-05-31

    Pending requester information.

     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 30 days (the time period specified by
    the administrator of this Tracker).

     
  • Daniel Gredler

    Daniel Gredler - 2009-07-13

    Re-opening and assigning to myself, as I actually think that this would be a good thing to have.

     
  • Tim Moore

    Tim Moore - 2009-07-31

    There's an emerging standard for this: http://www.w3.org/TR/selectors-api/

     
  • Gabriel

    Gabriel - 2010-10-14

    Are still there any plans to implement this?

     
  • Gabriel

    Gabriel - 2010-10-14

    But this is only for the HtmlPage. What about the DomNode class? You should be able to find child nodes by css from the current node. I am asking this because I am trying to fix an open issue on Webdriver/Selenium2 to enable CSS selectors for HtmlUnitDriver.

     
  • Ahmed Ashour

    Ahmed Ashour - 2012-10-14

    DomNode was having the mentioned methods, now they are public.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.