File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 388388 "body" : " await page.keyboard.press('$0');" ,
389389 "description" : " Presses on a specific key within the page"
390390 },
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"
395395 },
396396 "page.keyboard.type" : {
397397 "prefix" : " pw-page-keyboard-type" ,
398398 "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 "
400400 },
401401 "page.keyboard.up" : {
402402 "prefix" : " pw-page-keyboard-up" ,
You can’t perform that action at this time.
0 commit comments