MCPcopy Index your code
hub / github.com/js-cookie/js-cookie / setSessionStatus

Function setSessionStatus

test/browserstack/runner.js:39–52  ·  view source on GitHub ↗
(driver, status, reason)

Source from the content-addressed store, hash-verified

37}
38
39async function setSessionStatus(driver, status, reason) {
40 const command = {
41 action: 'setSessionStatus',
42 arguments: { status, reason }
43 }
44
45 try {
46 await driver.executeScript(
47 `browserstack_executor: ${JSON.stringify(command)}`
48 )
49 } catch {
50 // No-op when executor is unavailable.
51 }
52}
53
54async function run() {
55 let driver

Callers 1

runFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…