执行swipe报错,没理解错哪里,哪位亲指点一下,谢谢

2022-06-20 16:27:06 INFO [DynamicEval$.70.dsl] eval driver.swipe(10,420,10,120)
2022-06-20 16:27:06 INFO [DynamicEval$.97.eval] driver.swipe(10,420,10,120)
2022-06-20 16:27:06 ERROR [LogicUtils$.13.handleException] org.openqa.selenium.InvalidArgumentException: Coordinate [x=10800.0, y=806400.0] is outside of element rect: [0,0][1080,1920]
Build info: version: ‘unknown’, revision: ‘unknown’, time: ‘unknown’
System info: host: ‘PC086’, ip: ‘10.19.3.178’, os.name: ‘Windows Server 2016’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_181’
Driver info: io.appium.java_client.android.AndroidDriver
Capabilities {app: , appActivity: com.test.min.b_ym_…, appPackage: com.test.min, appium: http://127.0.0.1:4723/wd/hub, databaseEnabled: false, desired: {app: , appActivity: com.test.min.b_ym_…, appPackage: com.test.min, appium: http://127.0.0.1:4723/wd/hub, deviceName: demo, dontStopAppOnReset: false, fullReset: false, newCommandTimeout: 120, noReset: true, platformName: android}, deviceApiLevel: 26, deviceManufacturer: samsung, deviceModel: SM-C9000, deviceName: 45d6fa04, deviceScreenDensity: 420, deviceScreenSize: 1080x1920, deviceUDID: 45d6fa04, dontStopAppOnReset: false, fullReset: false, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, newCommandTimeout: 120, noReset: true, pixelRatio: 2.625, platform: LINUX, platformName: Android, platformVersion: 8.0.0, statBarHeight: 63, takesScreenshot: true, viewportRect: {height: 1857, left: 0, top: 63, width: 1080}, warnings: {}, webStorageEnabled: false}
Session ID: 33532e16-356c-41d3-9419-1a6fe26355da
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.util.concurrent.FutureTask.report(Unknown Source)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.util.concurrent.FutureTask.get(Unknown Source)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.utils.LogicUtils$.$anonfun$asyncTask$1(LogicUtils.scala:75)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] scala.util.Try$.apply(Try.scala:210)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.utils.LogicUtils$.asyncTask(LogicUtils.scala:66)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.driver.AppiumClient.swipe(AppiumClient.scala:102)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] $line14.$read$$iw.(:1)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] $line14.$read.(:8)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] $line14.$read$.()
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] $line14.$eval$.$print$lzycompute(:6)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] $line14.$eval$.$print(:5)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] $line14.$eval.$print()
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.lang.reflect.Method.invoke(Unknown Source)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] scala.tools.nsc.interpreter.IMain$ReadEvalPrint.call(IMain.scala:670)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] scala.tools.nsc.interpreter.IMain$Request.loadAndRun(IMain.scala:1006)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] scala.tools.nsc.interpreter.IMain.$anonfun$doInterpret$1(IMain.scala:506)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] scala.reflect.internal.util.ScalaClassLoader.asContext(ScalaClassLoader.scala:36)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] scala.reflect.internal.util.ScalaClassLoader.asContext$(ScalaClassLoader.scala:116)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] scala.reflect.internal.util.AbstractFileClassLoader.asContext(AbstractFileClassLoader.scala:43)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] scala.tools.nsc.interpreter.IMain.loadAndRunReq$1(IMain.scala:505)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] scala.tools.nsc.interpreter.IMain.$anonfun$doInterpret$3(IMain.scala:519)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] scala.tools.nsc.interpreter.IMain.doInterpret(IMain.scala:519)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] scala.tools.nsc.interpreter.IMain.interpret(IMain.scala:503)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] scala.tools.nsc.interpreter.IMain.interpret(IMain.scala:501)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.utils.DynamicEval.eval(DynamicEval.scala:51)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.utils.DynamicEval$.eval(DynamicEval.scala:98)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.utils.DynamicEval$.$anonfun$dsl$1(DynamicEval.scala:71)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] scala.util.Try$.apply(Try.scala:210)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.utils.DynamicEval$.dsl(DynamicEval.scala:71)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.$anonfun$doElementAction$3(Crawler.scala:1141)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.utils.LogicUtils$$anon$1.call(LogicUtils.scala:69)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.util.concurrent.FutureTask.run(Unknown Source)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.lang.Thread.run(Unknown Source)
2022-06-20 16:27:06 ERROR [LogicUtils$.16.handleException] find more cause
2022-06-20 16:27:06 ERROR [LogicUtils$.13.handleException] Coordinate [x=10800.0, y=806400.0] is outside of element rect: [0,0][1080,1920]
Build info: version: ‘unknown’, revision: ‘unknown’, time: ‘unknown’
System info: host: ‘HKVSBJYF-PC086’, ip: ‘10.192.33.178’, os.name: ‘Windows Server 2016’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_181’
Driver info: io.appium.java_client.android.AndroidDriver
Capabilities {app: , appActivity: com.test.min.b_ym_…, appPackage: com.test.min, appium: http://127.0.0.1:4723/wd/hub, databaseEnabled: false, desired: {app: , appActivity: com.test.min.b_ym_…, appPackage: com.test.min, appium: http://127.0.0.1:4723/wd/hub, deviceName: demo, dontStopAppOnReset: false, fullReset: false, newCommandTimeout: 120, noReset: true, platformName: android}, deviceApiLevel: 26, deviceManufacturer: samsung, deviceModel: SM-C9000, deviceName: 45d6fa04, deviceScreenDensity: 420, deviceScreenSize: 1080x1920, deviceUDID: 45d6fa04, dontStopAppOnReset: false, fullReset: false, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, newCommandTimeout: 120, noReset: true, pixelRatio: 2.625, platform: LINUX, platformName: Android, platformVersion: 8.0.0, statBarHeight: 63, takesScreenshot: true, viewportRect: {height: 1857, left: 0, top: 63, width: 1080}, warnings: {}, webStorageEnabled: false}
Session ID: 33532e16-356c-41d3-9419-1a6fe26355da
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.lang.reflect.Constructor.newInstance(Unknown Source)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] io.appium.java_client.PerformsTouchActions.performTouchAction(PerformsTouchActions.java:41)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] io.appium.java_client.TouchAction.perform(TouchAction.java:187)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.AppiumTouchAction.swipe(AppiumTouchAction.java:31)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.driver.AppiumClient.$anonfun$swipe$1(AppiumClient.scala:102)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.utils.LogicUtils$$anon$1.call(LogicUtils.scala:69)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.util.concurrent.FutureTask.run(Unknown Source)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
2022-06-20 16:27:06 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.lang.Thread.run(Unknown Source)
2022-06-20 16:27:06 ERROR [LogicUtils$.18.handleException] exception finish

这个提示不是很清楚了吗?你写的坐标x=10800.0, y=806400.0已经超过了元素[0,0][1080,1920]的范围,怎么swipe

我写的坐标是 driver.swipe(10,420,10,120)

关闭