How to use key combinations in Puppeteer?

I would like to do Ctrl + A (select all) but I’m not sure how to do it in Puppeteer. I tried doing Key Press In Page with Ctrl and then another block with A but it doesn’t work.

As a workaround, I’m using Click block with 3 click counts. But I’m curious as to how key combinations work.

firstly check if the node you try to parse/copy is displayed , because you can’t do anything with it if not.
Secondly Check if this node in iframe.
Good luck!

Key Down CTRL (not key press) and then Key Press A, finally Key Up CTRL (you need to find the proper name for CTRL by looking at the list that is in the block’s description). So basically

Key Down CTRL
Key Press A
Key Up CTRL

2 Likes

Thank you very much!