Rename query to queryFirst and create a query that will throw an exception if there is more than one element matching

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Normal
    • 1.2.1
    • Affects Version/s: 1.2.1
    • Component/s: None
    • None

      Agents offer query and queryAll methods.

      The problem is that query() is returning the first element matching selector, which may cause subtle bugs.
      I think the API should be changed as described in the title of this issue

            Assignee:
            henrichen
            Reporter:
            kretes
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: