postRequest method

dynamic postRequest(
  1. String command, [
  2. Object? params
])

Performs post request on command to the WebDriver server.

For use by supporting WebDriver packages.

Implementation

dynamic postRequest(String command, [Object? params]) => _client.send(
    _handler.buildGeneralRequest(HttpMethod.httpPost, command, params),
    (response) => _handler.parseGeneralResponse(
        response, (elementId) => getElement(elementId, this)));