feat: add getText api #240

This commit is contained in:
Hufe921
2023-08-11 19:32:34 +08:00
parent fd31b3e78c
commit f8fdea61fc
7 changed files with 135 additions and 27 deletions
+14
View File
@@ -114,3 +114,17 @@ const {
footer: string
} = await instance.command.getHTML()
```
## getText
Feature: Get text
Usage:
```javascript
const {
header: string
main: string
footer: string
} = await instance.command.getText()
```