import { UiDriver, BY } from '@ohos.UiTest'; \n async function demo() { let driver = UiDriver.create(); let button = await driver.findComponent(BY.type('button')); if(await button.isSelected()) { con
最近更新: 6个月前import { UiDriver, BY } from '@ohos.UiTest'; async function demo() { let driver = UiDriver.create(); let button = await driver.findComponent(BY.type('button')); if(await button.isSelected()) { console
最近更新: 6个月前