提交 fc464116 编写于 作者: 肖帅

Signed-off-by: 肖帅 <xiaoshuai6@hisilicon.com>

 Changes to be committed:
	modified:   zh-cn/application-dev/reference/apis/js-apis-uitest.md
上级 29447a3b
......@@ -1283,7 +1283,7 @@ async function demo() {
triggerCombineKeys(key0: number, key1: number, key2: number): Promise\<void>
UiDriver对象采取如下操作,通过给定的所有key值找到对应组合键并点击
UiDriver对象通过给定的key值,找到对应组合键并点击。例如,Key值为(2072, 2019)时,UiDriver对象找到组合键并点击ctrl+c
**系统能力**:SystemCapability.Test.UiTest
......@@ -1297,13 +1297,6 @@ UiDriver对象采取如下操作,通过给定的所有key值找到对应组合
**示例:**
```js
async function demo() {
let driver = UiDriver.create()
await driver.triggerCombineKeys(2072, 2017)
}
```
```js
async function demo() {
let driver = UiDriver.create()
......@@ -1311,6 +1304,7 @@ async function demo() {
}
```
### click
click(x: number, y: number): Promise\<void>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册