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

Method perform

javascript/selenium-webdriver/bidi/input.js:47–59  ·  view source on GitHub ↗

* Performs the specified actions on the given browsing context. * * @param {string} browsingContextId - The ID of the browsing context. * @param {Array} actions - The actions to be performed. * @returns {Promise} A promise that resolves with the response from the server.

(browsingContextId, actions)

Source from the content-addressed store, hash-verified

45 * @returns {Promise} A promise that resolves with the response from the server.
46 */
47 async perform(browsingContextId, actions) {
48 const _actions = await updateActions(actions)
49
50 const command = {
51 method: 'input.performActions',
52 params: {
53 context: browsingContextId,
54 actions: _actions,
55 },
56 }
57
58 return await this.bidi.send(command)
59 }
60
61 /**
62 * Resets the input state in the specified browsing context.

Callers

nothing calls this directly

Calls 2

updateActionsFunction · 0.85
sendMethod · 0.65

Tested by

no test coverage detected