栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Java

org.openqa.selenium.ElementClickInterceptedException: element click intercepted

Java 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

org.openqa.selenium.ElementClickInterceptedException: element click intercepted

     [java]     => org.openqa.selenium.ElementClickInterceptedException: element click intercepted: Element ... is not clickable at point (631, 227). Other element would receive the click:

...

     [java]   (Session info: chrome=101.0.4951.54)
     [java] Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
     [java] System info: host: 'xxxx-PC2CAVBF', ip: 'xxxx', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_332'
     [java] Driver info: org.openqa.selenium.chrome.ChromeDriver
     [java] Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 101.0.4951.54, chrome: {chromedriverVersion: 100.0.4896.60 (6a5d10861ce8..., userDataDir: C:UsersxxxxxAppDataLoc...}, goog:chromeOptions: {debuggerAddress: localhost:51732}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: ignore, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true}
     [java] Session ID: 3f945d1e3d54f41c48ee743a906d1dff
     [java]        sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     [java]        sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
     [java]        sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
     [java]        java.lang.reflect.Constructor.newInstance(Constructor.java:423)
     [java]        org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)
     [java]        org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)
     [java]        org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
     [java]        org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
     [java]        org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
     [java]        org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
     [java]        [...]
     [java] 
     [java] Test run finished after 178307 ms
     [java] [         3 containers found      ]
     [java] [         0 containers skipped    ]
     [java] [         3 containers started    ]
     [java] [         0 containers aborted    ]
     [java] [         3 containers successful ]
     [java] [         0 containers failed     ]
     [java] [         1 tests found           ]
     [java] [         0 tests skipped         ]
     [java] [         1 tests started         ]
     [java] [         0 tests aborted         ]
     [java] [         0 tests successful      ]
     [java] [         1 tests failed          ]
     [java] 
     [java] Java Result: 1
     [echo] Scripts Execution Complete

元素不可點擊,可以嘗試選擇它的可點擊的子元素,作爲點擊的對象

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/874747.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号