page.keyboard.up()
page.keyboard.down()
page.keyboard.press('Control+A')
# 模拟按下 Shift + A 键
input_field.press('Shift+A')
# 模拟按下 Control + C 键(复制)
input_field.press('Control+C')
page.keyboard.press('Enter')
page.keyboard.type('shw123')
2024-09-29 20:57:45
page.keyboard.up()
page.keyboard.down()
page.keyboard.press('Control+A')
# 模拟按下 Shift + A 键
input_field.press('Shift+A')
# 模拟按下 Control + C 键(复制)
input_field.press('Control+C')
page.keyboard.press('Enter')
page.keyboard.type('shw123')