* 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)
| 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. |
nothing calls this directly
no test coverage detected