无法切换到 Google 登录 window - Katalon
Unable to switch to Google sign in window - Katalon
我正在尝试切换到 Google 登录 window 但测试失败。
我正在使用命令:
WebUI.switchToWindowTitle("Sign in - Google Accounts")
但是测试失败
Caused by: com.kms.katalon.core.exception.StepFailedException: Cannot find window with title: 'Sign in - Google Accounts'
我也试过
WebUI.switchToWindowIndex(1)
但是测试失败
Caused by: com.kms.katalon.core.exception.StepFailedException: Cannot find window with index: '1'
有人知道如何切换到 google 登录 window 吗?
我能够使用相同的 switchToWindowTitle 命令成功切换到 PayPal 登录弹出窗口 window
这已在 Katalon forum and has been answered here 上讨论过,还有:
To help protect your account, Google doesn’t let you sign in from some browsers. Google might stop sign-ins from browsers that:
- Don’t support JavaScript or have JavaScript turned off
- Have unsecure or unsupported extensions added
- Are being controlled through software automation rather than a human
- Are embedded in a different application
我正在尝试切换到 Google 登录 window 但测试失败。
我正在使用命令:
WebUI.switchToWindowTitle("Sign in - Google Accounts")
但是测试失败
Caused by: com.kms.katalon.core.exception.StepFailedException: Cannot find window with title: 'Sign in - Google Accounts'
我也试过
WebUI.switchToWindowIndex(1)
但是测试失败
Caused by: com.kms.katalon.core.exception.StepFailedException: Cannot find window with index: '1'
有人知道如何切换到 google 登录 window 吗?
我能够使用相同的 switchToWindowTitle 命令成功切换到 PayPal 登录弹出窗口 window
这已在 Katalon forum and has been answered here 上讨论过,还有:
To help protect your account, Google doesn’t let you sign in from some browsers. Google might stop sign-ins from browsers that:
- Don’t support JavaScript or have JavaScript turned off
- Have unsecure or unsupported extensions added
- Are being controlled through software automation rather than a human
- Are embedded in a different application