executeDriver method

Future<Map<String, dynamic>> executeDriver(
  1. String script, {
  2. String? type,
  3. Duration? timeout,
})

Implementation

Future<Map<String, dynamic>> executeDriver(String script,
        {String? type, Duration? timeout}) =>
    _client.send(
        _handler.executeDriver
            .buildExecuteDriverRequest(script, type: type, timeout: timeout),
        _handler.executeDriver.parseExecuteDriverResponse);