hello,
We are setting up Flutter Environment on the Katalon Studio. We followed all the steps and guidelines but we are facing the following error. If somebody can help us with this please.
org.openqa.selenium.WebDriverException: Cannot read properties of undefined (reading ‘screenshot’)
Build info: version: ‘4.34.0’, revision: ‘707dcb4246*’
System info: os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘17.0.14’
Driver info: io.appium.java_client.android.AndroidDriver
Command: [525bf06c-1d51-4d14-b6be-495722879bf9, screenshot {}]
Capabilities {appium:address: 0.0.0.0, appium:allowCors: false, appium:allowInsecure: [], appium:app: C:\Users\Johann.SANTOS\Down…, appium:autoGrantPermissions: true, appium:automationName: Flutter, appium:basePath: /wd/hub, appium:callbackPort: 4723, appium:debugLogSpacing: false, appium:denyInsecure: [], appium:deviceId: 53ac049b, appium:deviceName: OnePlus CPH2573 (Android 16), appium:driver: {xcuitest: {wdaLocalPort: 8100}}, appium:driversImportChunkSize: 3, appium:extraArgs: [], appium:fastReset: false, appium:fullReset: false, appium:keepAliveTimeout: 600, appium:localTimezone: false, appium:logFormat: text, appium:logNoColors: false, appium:logTimestamp: false, appium:loglevel: info, appium:longStacktrace: false, appium:newCommandTimeout: 1800, appium:noPermsCheck: false, appium:noReset: true, appium:platformVersion: 16, appium:pluginsImportChunkSize: 7, appium:port: 55165, appium:relaxedSecurityEnabled: false, appium:requestTimeout: 3600, appium:sessionOverride: false, appium:shutdownTimeout: 5000, appium:skipUninstall: true, appium:strictCaps: false, appium:subcommand: server, appium:systemPort: 55207, appium:tmpDir: C:\Users\JOHANN~1.SAN\AppDa…, appium:udid: 53ac049b, appium:useDrivers: [], appium:usePlugins: [], platformName: ANDROID}
Session ID: 525bf06c-1d51-4d14-b6be-495722879bf9
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
at org.openqa.selenium.remote.ErrorCodec.decode(ErrorCodec.java:167)
at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:138)
at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:50)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:215)
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:244)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:544)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:617)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:235)
at org.openqa.selenium.remote.RemoteWebDriver.getScreenshotAs(RemoteWebDriver.java:333)
at io.appium.java_client.AppiumDriver.getScreenshotAs(AppiumDriver.java:244)
at com.kms.katalon.composer.mobile.objectspy.dialog.MobileInspectorController.captureScreenshot(MobileInspectorController.java:378)
at com.kms.katalon.composer.mobile.recorder.components.MobileRecorderDialog$5.captureImage(MobileRecorderDialog.java:902)
at com.kms.katalon.composer.mobile.recorder.components.MobileRecorderDialog$5.run(MobileRecorderDialog.java:829)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:124)
