老师这个是什么问题,用了几种定位方式都不能点击登录,环境也重新配置过了
来源:2-5 【送您十大定位方法】元素定位
weixin_慕虎5431727
2023-06-21
**提示信息:**Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 99.0.4844.51, chrome: {chromedriverVersion: 99.0.4844.51 (d537ec02474b5…, userDataDir: C:\Users\GuaG\AppData\Local…}, goog:chromeOptions: {debuggerAddress: localhost:63782}, 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}

1回答
-
Mushishi
2023-06-27
你的webdriver是封装好的还是用的系统的?定位你可以先通过dom 直接在浏览器里面看一下你这个xpath是否可以直接定位。
012023-07-12
相似问题