Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | 11x 4x 5x 6x 2x 2x | const command = () => ({
method: 'GET',
endpoint: '/session/:sessionId/element',
body: { using: 'css selector', value: 'img' },
result: { value: { x: 75, y: 11, width: 160, height: 160 } },
cid: '0-0',
sessionId: '4d1707ae-820f-1645-8485-5a820b2a40da',
capabilities: {}
})
const screenShotCommand = () => ({
method: 'GET',
body: { using: 'css selector', value: 'img' },
endpoint: '/session/:sessionId/screenshot',
result: { value: 'base64' },
cid: '0-0',
sessionId: '4d1707ae-820f-1645-8485-5a820b2a40da',
capabilities: {}
})
export function commandStart() {
return command()
}
export function commandEnd() {
return command()
}
export function commandStartScreenShot() {
return screenShotCommand()
}
export function commandEndScreenShot() {
return screenShotCommand()
}
|