appcrawler v2.7.0 运行中途抛异常

问题描述:同样的配置文件,在2.7.0版本运行过程中跑出异常,有人遇到过这种问题吗?

 The element XXX does not exist in DOM anymore

2021-11-08 13:47:11 ERROR [Log.198.$anonfun$crawlWithRetry$2] 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
2021-11-08 13:47:11 ERROR [Log.198.$anonfun$crawlWithRetry$2] 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
2021-11-08 13:47:11 ERROR [Log.198.$anonfun$crawlWithRetry$2] 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
2021-11-08 13:47:11 ERROR [Log.198.$anonfun$crawlWithRetry$2] 	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
2021-11-08 13:47:11 ERROR [Log.198.$anonfun$crawlWithRetry$2] 	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)
2021-11-08 13:47:11 ERROR [Log.198.$anonfun$crawlWithRetry$2] 	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)
2021-11-08 13:47:11 ERROR [Log.198.$anonfun$crawlWithRetry$2] 	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
2021-11-08 13:47:11 ERROR [Log.198.$anonfun$crawlWithRetry$2] 	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
2021-11-08 13:47:11 ERROR [Log.198.$anonfun$crawlWithRetry$2] 	at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250)
2021-11-08 13:47:11 ERROR [Log.198.$anonfun$crawlWithRetry$2] 	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
2021-11-08 13:47:11 ERROR [Log.198.$anonfun$crawlWithRetry$2] 	at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41)
2021-11-08 13:47:11 ERROR [Log.198.$anonfun$crawlWithRetry$2] 	at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
2021-11-08 13:47:11 ERROR [Log.198.$anonfun$crawlWithRetry$2] 	at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1)
2021-11-08 13:47:11 ERROR [Log.198.$anonfun$crawlWithRetry$2] 	at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:285)
2021-11-08 13:47:11 ERROR [Log.198.$anonfun$crawlWithRetry$2] 	at io.appium.java_client.DefaultGenericMobileElement.execute(DefaultGenericMobileElement.java:45)
2021-11-08 13:47:11 ERROR [Log.198.$anonfun$crawlWithRetry$2] 	at io.appium.java_client.MobileElement.execute(MobileElement.java:1)
2021-11-08 13:47:11 ERROR [Log.198.$anonfun$crawlWithRetry$2] 	at io.appium.java_client.android.AndroidElement.execute(AndroidElement.java:1)
2021-11-08 13:47:11 ERROR [Log.198.$anonfun$crawlWithRetry$2] 	at org.openqa.selenium.remote.RemoteWebElement.getLocation(RemoteWebElement.java:337)
2021-11-08 13:47:11 ERROR [Log.198.$anonfun$crawlWithRetry$2] 	at com.ceshiren.appcrawler.driver.SeleniumDriver.getRect(SeleniumDriver.scala:235)
2021-11-08 13:47:11 ERROR [Log.198.$anonfun$crawlWithRetry$2] 	at com.ceshiren.appcrawler.core.Crawler.saveElementScreenshot(Crawler.scala:1150)
2021-11-08 13:47:11 ERROR [Log.198.$anonfun$crawlWithRetry$2] 	at com.ceshiren.appcrawler.core.Crawler.doElementAction(Crawler.scala:1031)
2021-11-08 13:47:11 ERROR [Log.198.$anonfun$crawlWithRetry$2] 	at com.ceshiren.appcrawler.core.Crawler.crawl(Crawler.scala:999)
2021-11-08 13:47:11 ERROR [Log.198.$anonfun$crawlWithRetry$2] 	at com.ceshiren.appcrawler.core.Crawler.$anonfun$crawlWithRetry$1(Crawler.scala:187)
2021-11-08 13:47:11 ERROR [Log.198.$anonfun$crawlWithRetry$2] 	at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)
2021-11-08 13:47:11 ERROR [Log.198.$anonfun$crawlWithRetry$2] 	at scala.util.Try$.apply(Try.scala:210)
2021-11-08 13:47:11 ERROR [Log.198.$anonfun$crawlWithRetry$2] 	at com.ceshiren.appcrawler.core.Crawler.crawlWithRetry(Crawler.scala:187)
2021-11-08 13:47:11 ERROR [Log.198.$anonfun$crawlWithRetry$2] 	at com.ceshiren.appcrawler.core.Crawler.start(Crawler.scala:169)
2021-11-08 13:47:11 ERROR [Log.198.$anonfun$crawlWithRetry$2] 	at com.ceshiren.appcrawler.AppCrawler$.startCrawl(AppCrawler.scala:333)
2021-11-08 13:47:11 ERROR [Log.198.$anonfun$crawlWithRetry$2] 	at com.ceshiren.appcrawler.AppCrawler$.parseParams(AppCrawler.scala:300)
2021-11-08 13:47:11 ERROR [Log.198.$anonfun$crawlWithRetry$2] 	at com.ceshiren.appcrawler.AppCrawler$.main(AppCrawler.scala:84)
2021-11-08 13:47:11 ERROR [Log.198.$anonfun$crawlWithRetry$2] 	at com.ceshiren.appcrawler.AppCrawler.main(AppCrawler.scala)
2021-11-08 13:47:11 ERROR [Log.199.crawlWithRetry] create new session
Exception in thread "main" org.openqa.selenium.StaleElementReferenceException: The element 'By.xpath: //*[@resource-id='com.jlpay.merch:id/btn_ensure' and @text='提交申请']' does not exist in DOM anymore
For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/stale_element_reference.html
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'kongdexideMac-mini.local', ip: 'fe80:0:0:0:181b:434a:6020:f056%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.16', java.version: '1.8.0_131'
Driver info: io.appium.java_client.android.AndroidDriver
Capabilities {app: , appActivity: .ui.start.SplashActivity, appPackage: com.jlpay.merch, appium: http://127.0.0.1:4723/wd/hub, autoLaunch: true, databaseEnabled: false, desired: {app: , appActivity: .ui.start.SplashActivity, appPackage: com.jlpay.merch, appium: http://127.0.0.1:4723/wd/hub, autoLaunch: true, deviceName: oppo, fullReset: false, newCommandTimeout: 120, noReset: true, platformName: android, platformVersion: }, deviceApiLevel: 30, deviceManufacturer: OPPO, deviceModel: PDKM00, deviceName: NZKRMFZ9RSLRAQGY, deviceScreenDensity: 480, deviceScreenSize: 1080x2400, deviceUDID: NZKRMFZ9RSLRAQGY, fullReset: false, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, newCommandTimeout: 120, noReset: true, pixelRatio: 3, platform: LINUX, platformName: Android, platformVersion: 11, statBarHeight: 112, takesScreenshot: true, viewportRect: {height: 2176, left: 0, top: 112, width: 1080}, warnings: {}, webStorageEnabled: false}
Session ID: 9c2d6624-7702-413c-a48b-0592e538a1d6
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
	at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
	at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41)
	at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
	at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1)
	at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:285)
	at io.appium.java_client.DefaultGenericMobileElement.execute(DefaultGenericMobileElement.java:45)
	at io.appium.java_client.MobileElement.execute(MobileElement.java:1)
	at io.appium.java_client.android.AndroidElement.execute(AndroidElement.java:1)
	at org.openqa.selenium.remote.RemoteWebElement.getLocation(RemoteWebElement.java:337)
	at com.ceshiren.appcrawler.driver.SeleniumDriver.getRect(SeleniumDriver.scala:235)
	at com.ceshiren.appcrawler.core.Crawler.saveElementScreenshot(Crawler.scala:1150)
	at com.ceshiren.appcrawler.core.Crawler.doElementAction(Crawler.scala:1031)
	at com.ceshiren.appcrawler.core.Crawler.crawl(Crawler.scala:999)
	at com.ceshiren.appcrawler.core.Crawler.$anonfun$crawlWithRetry$1(Crawler.scala:187)
	at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)
	at scala.util.Try$.apply(Try.scala:210)

是不是就是存在过又消失了?

我这边运行过程也遇报错 ,报错日志1如下:

麻烦帮忙看一下

2021-11-10 11:47:36 INFO [Log.704.parsePageContext] ui change
2021-11-10 11:47:36 INFO [Log.742.afterElementAction] mark image exist
2021-11-10 11:47:36 INFO [Log.746.afterElementAction] afterElementAction eval
2021-11-10 11:47:36 INFO [Log.70.dsl] eval driver.swipe(0.5, 0.95, 0.5, 0.92)
2021-11-10 11:47:36 INFO [Log.94.eval] driver.swipe(0.5, 0.95, 0.5, 0.92)
2021-11-10 11:47:37 INFO [Log.248.asyncTask] use time 1.292 seconds name=swipe result=success
2021-11-10 11:47:37 INFO [Log.95.eval] Success
2021-11-10 11:47:37 INFO [Log.96.eval] eval finish
2021-11-10 11:47:37 INFO [Log.72.dsl] ()
2021-11-10 11:47:37 INFO [Log.646.refreshPage] refresh page
2021-11-10 11:47:37 INFO [Log.93.getPageSourceWithRetry] start to get page source from appium
2021-11-10 11:47:37 INFO [Log.115.$anonfun$getPageSourceWithRetry$1] xml format
2021-11-10 11:47:37 INFO [Log.672.parsePageContext] appName = hik.ebg.finance
2021-11-10 11:47:37 INFO [Log.348.getUri] defineUrl=
2021-11-10 11:47:37 INFO [Log.676.parsePageContext] url=hik.ebg.finance.LoginActivity
2021-11-10 11:47:37 INFO [Log.702.parsePageContext] currentContentHash=f47d0228e9a8dfdc4830a82d5cf29ac5 lastContentHash=f47d0228e9a8dfdc4830a82d5cf29ac5
2021-11-10 11:47:37 INFO [Log.706.parsePageContext] ui not change
2021-11-10 11:47:38 INFO [Log.1191.saveScreen] start screenshot
2021-11-10 11:47:38 INFO [Log.1194.$anonfun$saveScreen$2] ui change screenshot again
2021-11-10 11:47:38 ERROR [Log.277.handleException] org.openqa.selenium.remote.ScreenshotException: Screen shot has been taken
Build info: version: ‘unknown’, revision: ‘unknown’, time: ‘unknown’
System info: host: ‘PC-HZ20127903’, ip: ‘10.10.66.56’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘11’
Driver info: io.appium.java_client.android.AndroidDriver
Capabilities {app: , appActivity: hik.ebg.finance.MainActivity, appPackage: hik.ebg.finance, appium: http://127.0.0.1:4723/wd/hub, automationName: uiautomator2, databaseEnabled: false, desired: {app: , appActivity: hik.ebg.finance.MainActivity, appPackage: hik.ebg.finance, appium: http://127.0.0.1:4723/wd/hub, automationName: uiautomator2, deviceName: 127.0.0.1:62001, dontStopAppOnReset: false, fullReset: false, newCommandTimeout: 120, noReset: false, platformName: android, platformVersion: 7.1.2}, deviceApiLevel: 25, deviceManufacturer: HUAWEI, deviceModel: LIO-AN00, deviceName: 127.0.0.1:62001, deviceScreenDensity: 320, deviceScreenSize: 900x1600, deviceUDID: 127.0.0.1:62001, dontStopAppOnReset: false, fullReset: false, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, newCommandTimeout: 120, noReset: false, pixelRatio: 2, platform: LINUX, platformName: Android, platformVersion: 7.1.2, statBarHeight: 48, takesScreenshot: true, viewportRect: {height: 1552, left: 0, top: 48, width: 900}, warnings: {}, webStorageEnabled: false}
Session ID: a3ba355d-7396-439e-8bd0-f608b7168497
2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] java.base/java.util.concurrent.FutureTask.get(FutureTask.java:205)
2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] com.ceshiren.appcrawler.driver.ReactWebDriver.$anonfun$asyncTask$1(ReactWebDriver.scala:239)
2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] scala.util.Try$.apply(Try.scala:210)
2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] com.ceshiren.appcrawler.driver.ReactWebDriver.asyncTask(ReactWebDriver.scala:230)
2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.saveScreen(Crawler.scala:1192)
2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.afterElementAction(Crawler.scala:756)
2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.crawl(Crawler.scala:1002)
2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.$anonfun$crawlWithRetry$1(Crawler.scala:187)
2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)
2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] scala.util.Try$.apply(Try.scala:210)
2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.crawlWithRetry(Crawler.scala:187)
2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.start(Crawler.scala:169)
2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] com.ceshiren.appcrawler.AppCrawler$.startCrawl(AppCrawler.scala:333)
2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] com.ceshiren.appcrawler.AppCrawler$.parseParams(AppCrawler.scala:300)
2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] com.ceshiren.appcrawler.AppCrawler$.main(AppCrawler.scala:84)
2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] com.ceshiren.appcrawler.AppCrawler.main(AppCrawler.scala)
2021-11-10 11:47:38 ERROR [Log.280.handleException] find more cause
2021-11-10 11:47:38 ERROR [Log.277.handleException] Screen shot has been taken
Build info: version: ‘unknown’, revision: ‘unknown’, time: ‘unknown’
System info: host: ‘PC-HZ20127903’, ip: ‘10.10.66.56’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘11’
Driver info: io.appium.java_client.android.AndroidDriver
Capabilities {app: , appActivity: hik.ebg.finance.MainActivity, appPackage: hik.ebg.finance, appium: http://127.0.0.1:4723/wd/hub, automationName: uiautomator2, databaseEnabled: false, desired: {app: , appActivity: hik.ebg.finance.MainActivity, appPackage: hik.ebg.finance, appium: http://127.0.0.1:4723/wd/hub, automationName: uiautomator2, deviceName: 127.0.0.1:62001, dontStopAppOnReset: false, fullReset: false, newCommandTimeout: 120, noReset: false, platformName: android, platformVersion: 7.1.2}, deviceApiLevel: 25, deviceManufacturer: HUAWEI, deviceModel: LIO-AN00, deviceName: 127.0.0.1:62001, deviceScreenDensity: 320, deviceScreenSize: 900x1600, deviceUDID: 127.0.0.1:62001, dontStopAppOnReset: false, fullReset: false, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, newCommandTimeout: 120, noReset: false, pixelRatio: 2, platform: LINUX, platformName: Android, platformVersion: 7.1.2, statBarHeight: 48, takesScreenshot: true, viewportRect: {height: 1552, left: 0, top: 48, width: 900}, warnings: {}, webStorageEnabled: false}
Session ID: a3ba355d-7396-439e-8bd0-f608b7168497
2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)
2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)
2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250)
2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45)
2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1)
2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] org.openqa.selenium.remote.RemoteWebDriver.getScreenshotAs(RemoteWebDriver.java:295)
2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] com.ceshiren.appcrawler.driver.SeleniumDriver.screenshot(SeleniumDriver.scala:69)
2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.$anonfun$saveScreen$2(Crawler.scala:1195)
2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)
2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] com.ceshiren.appcrawler.driver.ReactWebDriver$$anon$1.call(ReactWebDriver.scala:233)
2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] java.base/java.lang.Thread.run(Thread.java:834)
2021-11-10 11:47:38 ERROR [Log.282.handleException] exception finish
2021-11-10 11:47:38 ERROR [Log.1218.saveScreen] screenshot error
2021-11-10 11:47:38 ERROR [Log.1219.saveScreen] org.openqa.selenium.remote.ScreenshotException: Screen shot has been taken
Build info: version: ‘unknown’, revision: ‘unknown’, time: ‘unknown’

我这边没消失,具体现象是:App 停止遍历,日志终端停止继续往下运行(会话未结束),显示上面的日志

是不是非原生控件,混合控件如webview或flutter开发的界面,点击的时候工具不支持会报错?

webview 不会吧,flutter不清楚,不过底层的appium本身是不支持flutter的,所以appcrawler 可能也不支持

不会的,用的appium,会把webview解析为原生控件的。

你这种错误是第一次出现,以前没见过。

我这边2.7.0版本是必现的,报告中一些步骤截图为空,就是这个报错导致的吧。

思寒大佬,麻烦帮忙看下这个报错吧
怀疑:是不java.version: '11’版本和那个scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)的版本不一致导致的??

我这边最开始用的是最新那个beat版的v2.7.0,那个时候出现The element XXX does not exist in DOM anymore 这个问题是app 停止遍历 ,日志终端控制台停止继续遍历,但是最近用了最新2.7.0的jar包(基于java 11),出现的The element XXX does not exist in DOM anymore问题就是存在报错然后又消息了。

目前这个错如果是发生在testcase里面的话会影响正常登陆。

你这个问题独立开帖子说吧,我本地貌似没法复现,就不太好解决了

你这个是显式等待问题,已经解决了。用2.7.2版本

1 个赞