Closed bpkddr closed 1 year ago
I tried and failed. await tab.keyboard_send(string='👉')
https://chromedevtools.github.io/devtools-protocol/tot/Input/#method-dispatchKeyEvent Emoji is not a valid KeyEvent
so use await tab.send(method='Input.insertText', text='👉')
instead. It works well.
https://chromedevtools.github.io/devtools-protocol/tot/Input/#method-insertText
hi,
how to keyboard_send for typing emoticon/emoji correctly? i was test send this 👉 become ( see image )