MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / getStatus

Function getStatus

javascript/selenium-webdriver/http/util.js:37–42  ·  view source on GitHub ↗

* Queries a WebDriver server for its current status. * @param {string} url Base URL of the server to query. * @return {!Promise<!Object>} A promise that resolves with * a hash of the server status.

(url)

Source from the content-addressed store, hash-verified

35 * a hash of the server status.
36 */
37function getStatus(url) {
38 const client = new HttpClient(url)
39 const executor = new Executor(client)
40 const command = new Command(CommandName.GET_SERVER_STATUS)
41 return executor.execute(command)
42}
43
44class CancellationError {}
45

Callers 1

checkServerStatusFunction · 0.85

Calls 1

executeMethod · 0.95

Tested by

no test coverage detected