File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 388
388
"body" : " await page.keyboard.press('$0');" ,
389
389
"description" : " Presses on a specific key within the page"
390
390
},
391
- "page.keyboard.sendCharacter " : {
392
- "prefix" : " pw-page-keyboard-sendCharacter " ,
393
- "body" : " await page.keyboard.sendCharacter ('$0');" ,
394
- "description" : " Dispatches a `keypress` and `input` event within the page"
391
+ "page.keyboard.insertText " : {
392
+ "prefix" : " pw-page-keyboard-insertText " ,
393
+ "body" : " await page.keyboard.insertText ('$0');" ,
394
+ "description" : " Dispatches an `input` event within the page"
395
395
},
396
396
"page.keyboard.type" : {
397
397
"prefix" : " pw-page-keyboard-type" ,
398
398
"body" : " await page.keyboard.type('$0');" ,
399
- "description" : " Types a text into a focused element within the page"
399
+ "description" : " Dispatches `keydown`, `keypress`/`input` and `keyup` events within the page for each given character "
400
400
},
401
401
"page.keyboard.up" : {
402
402
"prefix" : " pw-page-keyboard-up" ,
You can’t perform that action at this time.
0 commit comments