[Bug 26613] New: POST /session/{id}/timeouts should take an array of timeouts


            Bug ID: 26613
           Summary: POST /session/{id}/timeouts should take an array of
           Product: Browser Test/Tools WG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebDriver
          Assignee: public-browser-tools-testing@w3.org
          Reporter: ato@mozilla.com
        QA Contact: public-browser-tools-testing@w3.org
                CC: mike@w3.org

Currently POST /session/{id}/timeouts takes a hash map of {"type": TYPE, "ms":
N} which allows setting individual timeouts.

If we consider a local end client binding that wants to set them all at once
(pseudo code):

    driver.timeouts = [{type: "page load", ms: 123},
                       {type: "implicit", ms: 456},
                       {type: "script", ms: 789}]

This will currently require them to make three individual calls to the

An optimization is to allow the endpoint to take an array of dicts instead:

    [{"type": TYPE, "ms": N}, …]

You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 20 August 2014 13:16:25 UTC