Skip to content

Commit

Permalink
fix 扫一扫
Browse files Browse the repository at this point in the history
  • Loading branch information
gallonyin committed May 29, 2023
1 parent e7813b2 commit 0ab5978
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1688,9 +1688,10 @@ object WeworkOperationImpl {
if (AccessibilityUtil.findTextAndClick(list, "扫一扫", exact = true)) {
AccessibilityExtraUtil.loadingPage("LoginScannerActivity")
if (AccessibilityExtraUtil.loadingPage("LoginPcActivity")) {
if (AccessibilityUtil.findTextAndClick(getRoot(), "登录", exact = true)) {
if (AccessibilityUtil.findTextAndClick(getRoot(), "登录", exact = true, timeout = Constant.LONG_INTERVAL * 2)) {
LogUtils.i("点击登录")
uploadCommandResult(message, ExecCallbackBean.SUCCESS, "点击登录", startTime)
sleep(Constant.CHANGE_PAGE_INTERVAL * 2)
return true
} else {
LogUtils.e("未找到登录按钮")
Expand Down

0 comments on commit 0ab5978

Please sign in to comment.