提交 7a787ec7 编写于 作者: aaronchen2k2k's avatar aaronchen2k2k

add appium script

上级 39a81737
......@@ -7,7 +7,7 @@ cid=0
pid=0
[group]
1. find image element which id is >> image
1. check image element displayed attribute is >>true
[esac]
*/
......@@ -38,7 +38,7 @@ class HelloWorld
$driver->findElement(WebDriverBy::id("click_me_btn"))->click();
$image = $driver->findElement(WebDriverBy::id("image"));
echo '>>' . $image->getAttribute('id');
echo '>>' . $image->getAttribute('displayed');
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册