@TOC
浏览器无响应/超时/界面点击无效timeout: Timed out receiving message from renderer: 300.000
org.openqa.selenium.TimeoutException: timeout: Timed out receiving message from renderer
from unknown error: cannot determine loading status
from tab crashed
(Session info: chrome=100.0.4896.60)
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:17:03’
System info: host: ‘CODE007’, ip: ‘192.168.10.241’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_211’
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 100.0.4896.60, chrome: {chromedriverVersion: 100.0.4896.60 (6a5d10861ce8…, userDataDir: C:UsersFrancizAppDataLo…}, goog:chromeOptions: {debuggerAddress: localhost:50203}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true}
Session ID: 91d67a9aaf02d69b760e522550034e2d
上面是出现错误时的代码片段,如果你的情况与我类似,那么可能是你的UI自动化测试中执行某个用例时遇到了xxx bug 导致你的浏览器卡死/无效操作.
元素点击拦截异常org.openqa.selenium.ElementClickInterceptedException:
element click intercepted: Element … is not clickable at point (491, 324). Other element would receive the click:
这种情况一般是浏览器界面在操作时 鼠标正在转圈圈(卡顿了),一般在操作这个元素之前加一点等待时间即可解决.



