org.openqa.selenium.remote.ScreenshotException

Hello at android version 6 i get this error how i can solve it ?

org.openqa.selenium.remote.ScreenshotException: Screen shot has been taken
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’
System info: host: ‘GHOGHNOS’, ip: ‘192.168.251.50’, os.name: ‘Windows 11’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_362’
Driver info: com.kms.katalon.core.appium.driver.SwipeableAndroidDriver
Capabilities {app: C:\Users\TUF\Downloads\Mock…, appPackage: com.mobiliha.badesaba, autoGrantPermissions: true, chromedriverPort: 62506, databaseEnabled: false, desired: {app: C:\Users\TUF\Downloads\Mock…, autoGrantPermissions: true, chromedriverPort: 62506, deviceId: LGH818c6bfacc6, deviceName: LGE LG-H818 (Android 6.0), fullReset: false, newCommandTimeout: 1800, noReset: true, noSign: true, platform: ANDROID, platformName: android, platformVersion: 6.0, skipServerInstallation: true, systemPort: 62511, udid: LGH818c6bfacc6, uiautomator2ServerInstallTimeout: 40000}, deviceApiLevel: 23, deviceId: LGH818c6bfacc6, deviceManufacturer: LGE, deviceModel: LG-H818, deviceName: LGH818c6bfacc6, deviceScreenDensity: 640, deviceScreenSize: 1440x2560, deviceUDID: LGH818c6bfacc6, fullReset: false, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, newCommandTimeout: 1800, noReset: true, noSign: true, pixelRatio: 4, platform: ANDROID, platformName: Android, platformVersion: 6.0, skipServerInstallation: true, statBarHeight: 96, systemPort: 62511, takesScreenshot: true, udid: LGH818c6bfacc6, uiautomator2ServerInstallTimeout: 40000, viewportRect: {height: 2296, left: 0, top: 96, width: 1440}, warnings: {}, webStorageEnabled: false}
Session ID: debe4260-c7b4-40e9-8242-6a9cd09d2aa0
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:239)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:46)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1)
at com.kms.katalon.core.appium.driver.SwipeableAndroidDriver.execute(SwipeableAndroidDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.getScreenshotAs(RemoteWebDriver.java:295)
at com.kms.katalon.composer.mobile.objectspy.dialog.MobileInspectorController.captureScreenshot(MobileInspectorController.java:355)
at com.kms.katalon.composer.mobile.recorder.components.MobileRecorderDialog$4.captureImage(MobileRecorderDialog.java:688)
at com.kms.katalon.composer.mobile.recorder.components.MobileRecorderDialog$4.run(MobileRecorderDialog.java:649)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)

Hi,

According to your error log, I noticed that Katalon can support this application, but since the author of the application doesn’t accept Katalon or other automation tools takes screenshots, that’s the reason why nothing can be shown on the Device View screen. As a result, please continue recording the application with the available objects in the All Objects box after clicking on the OK button from the Warning popup. Hope this can help!

I can’t even run the script can you help me ?