browserType
Automate text input into web elements using Playwright, specifying page ID, element reference, and text. Optionally enable slow typing, submit actions, and wait for snapshots post-input.
Instructions
在页面元素中输入文本
Input Schema
Name | Required | Description | Default |
---|---|---|---|
pageId | Yes | 页面ID | |
ref | Yes | 元素的xp引用值 | |
slowly | No | 是否慢速输入(默认false) | |
submit | No | 输入后是否按回车提交(默认false) | |
text | Yes | 要输入的文本 | |
waitForTimeout | No | 操作后等待获取快照的延迟时间(毫秒,默认2000) |