Last active
November 29, 2021 06:10
-
-
Save yangyang5214/b8067b88a724c3d87f7cf0788831ec0e to your computer and use it in GitHub Desktop.
[清除输入框] #puppeteer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//点击三次,选中状态,下次再输入就清空了 | |
await element.click({clickCount: 3}) | |
await element.type(INPUT_TEST_TEXT) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment