Chrome驱动程序引发未知错误:未处理的检查器错误

时间:2020-11-02 18:40:51

标签: selenium selenium-chromedriver

Selenium项目突然出现错误,但是元素仍然在Web应用程序上。我已经执行了这些测试很多次了,在此之前,硒调用者方法和前端调用都没有改变

错误示例:

org.openqa.selenium.WebDriverException:未知错误:未处理的检查器错误:

{“代码”:-32000,“消息”:“找不到具有指定ID的上下文”} 或

org.openqa.selenium.TimeoutException:预期条件失败:等待元素的存在,位置:By.linkText:自助服务门户(尝试10秒,间隔500毫秒)(0r)

该消息是未知错误:未处理的检查器错误:{“代码”:-32000,]

-----------------------------------日志

290_UL_EFormsIN_3175476_HR_User_EF_SiteCode 无资料来源 持续时间:7.9分钟

消息: OpenQA.Selenium.WebDriverException:未知错误:未处理的检查器错误:{“代码”:-32000,“消息”:“已收集承诺”} (会议信息:chrome = 86.0.4240.111) (驱动程序信息:chromedriver = 86.0.4240.22(398b0743353ff36fb1b82468f63a3a93b4e2e89e-refs / branch-heads / 4240 @ {#378}),平台= Windows NT 10.0.17134 x86_64)(警告:服务器未提供任何堆栈跟踪信息) 命令持续时间或超时:10.15秒 内部版本信息:版本:'2.53.1',版本:'a36b8b1',时间:'2016-06-30 17:37:03' 系统信息:主机:'lt-node12',ip:'10 .61.5.177',操作系统名称:'Windows 10',os.arch:'x86',os.version:'10 .0',java.version:'1.8 .0_101' 驱动程序信息:org.openqa.selenium.chrome.ChromeDriver 功能[{mobileEmulationEnabled = false,超时= {implicit = 0,pageLoad = 300000,脚本= 30000},hasTouchScreen = false,platform = XP,acceptSslCerts = false,goog:chromeOptions = {debuggerAddress = localhost:49966},acceptInsecureCerts = false ,webStorageEnabled = true,browserName = chrome,takesScreenshot = true,javascriptEnabled = true,setWindowRect = true,unexpertAlertBehaviour = ignore,applicationCacheEnabled = false,rotatable = false,networkConnectionEnabled = false,chrome = {chromedriverVersion = 86.0.4240.22(398b0743353ff36fb1b82468f63a3a93e4e branch-heads / 4240 @ {#378}),userDataDir = C:\ Users \ QA-AUT〜1 \ AppData \ Local \ Temp \ scoped_dir8716_39180251},takeHeapSnapshot = true,pageLoadStrategy = normal,strictFileInteractability = false,databaseEnabled = false, handlesAlerts = true,版本= 86.0.4240.111,browserConnectionEnabled = false,proxy = {},nativeEvents = true,locationContextEnabled = true,cssSelectorsEnabled = true,webauthn:virtualAuthenticators = true}] 会话ID:b6e27e55ebd392a7c5744957ab60dc33 堆栈跟踪: RemoteWebDriver.UnpackAndThrowOnError(响应errorResponse) RemoteWebDriver.Execute(String driverCommandToExecute,Dictionary 2 parameters) RemoteWebDriver.get_PageSource() UnifiedLoginApplication.ClickLogInButton() line 120 UnifiedLoginApplication.Submit() line 250 UnifiedLoginApplication.FillAndSubmit(String Username, String Password) line 207 UnifiedLoginApplication.LoginApplication(String sitecode, String username, String password, String validateerrors) line 433 VerifyLandingPageAndAppSwitcher.UL_VerifyLandingPageAndAppSwitcher(Dictionary 2参数)

0 个答案:

没有答案