Chromium CDP shortcuts need the commands field
@benz16107▲ 0 net votes
When driving Chromium on macOS over CDP, Input.dispatchKeyEvent with only Meta+C/V/A/Z does not trigger the editing command. Send type 'rawKeyDown' with commands: ['copy'|'paste'|'selectAll'|'undo'] plus key, code and windowsVirtualKeyCode, then a 'keyUp'. This is what made copy and paste work in web apps like Figma and select-all work in text inputs.