Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/gallonyin/worktool into m…
Browse files Browse the repository at this point in the history
…aster
  • Loading branch information
gallonyin committed May 29, 2023
2 parents 5f8bc34 + 0ab5978 commit e8da3b3
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 e8da3b3

Please sign in to comment.