get_mock_calls
Get the current call arguments for a mock in the active session to verify mocked interactions. For Electron mocks, provide apiName and funcName; browser mocks are not yet supported.
Instructions
Read current call arguments for a mock in the active session. Use the same target as mock. mockType defaults to browser in WebDriver sessions and is required in Electron sessions. Electron mocks require apiName and funcName. Browser mocking is not implemented yet; Appium sessions are unsupported.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apiName | No | Required for mockType electron: API module, such as dialog, app, or clipboard. | |
| funcName | No | Required for mockType electron: API function, such as showOpenDialog or getName. | |
| mockType | No | Mock type: electron or browser. Defaults to browser in WebDriver sessions; required in Electron sessions. Browser mocking is not implemented yet. Appium sessions are unsupported. |