-
-
Notifications
You must be signed in to change notification settings - Fork 194
Open
Labels
Description
Is there an existing issue for this?
- I have searched the existing issues
Appium Version
2.13.1
Appium Host Type
Command Line
Are you using Appium components not maintained by the Appium team?
No response
Is this issue reproducible using the latest components?
- I confirm the issue is still reproducible with the latest component versions
Current Behavior
Appium Inspector Capabilities as follows :
{
"platformName": "iOS",
"appium:platformVersion": "18.1.1",
"appium:udid": "",
"appium:automationName": "Flutter",
"appium:xcodeOrgId": "",
"appium:xcodeSigningId": "iPhone Developer",
"appium:bundleId": "",
"appium:showXcodeLog": true,
}
Error :
[2fc648d0][FlutterDriver@dd93] Calling AppiumDriver.getScreenshot() with args: ["2fc648d0-92dd-443a-b3b9-40038eaa097b"]
[2fc648d0][FlutterDriver] Executing Flutter driver command 'getScreenshot'
[2fc648d0][FlutterDriver@dd93] [ '{"code":-32000,"message":"Could not capture image screenshot."}' ]
[2fc648d0][FlutterDriver@dd93] Encountered internal error running command: Error: {"code":-32000,"message":"Could not capture image screenshot."}
at Object.errorWithException (/Users/berkinmecik/node_modules/@appium/support/lib/logging.js:41:45)
at Object.errorAndThrow (/Users/berkinmecik/node_modules/@appium/support/lib/logging.js:44:18)
at IsolateSocket.socket.call (/Users/berkinmecik/node_modules/appium-flutter-driver/lib/sessions/observatory.ts:64:20)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at FlutterDriver.getScreenshot (/Users/berkinmecik/node_modules/appium-flutter-driver/lib/commands/screen.ts:4:20)
[2fc648d0][HTTP] <-- GET /session/2fc648d0-92dd-443a-b3b9-40038eaa097b/screenshot 500 14 ms - 644
- XCUITest doesnt have this kind of problem and i can observe app but when i use flutter throws this error.
Expected Behavior
to be able to observe app at appium inspector
Appium Log
No response
Environment Details
"node": {
"version": "v20.18.1",
"arch": "arm64",
"cwd": "/Users/berkinmecik",
"argv": [
"/opt/homebrew/Cellar/node@20/20.18.1/bin/node",
"/opt/homebrew/bin/appium",
"--show-debug-info"
]
"appium": {
"location": "/opt/homebrew/lib/node_modules/appium",
"homedir": "/Users/berkinmecik",
"build": {
"version": "2.13.1",
"git-sha": "",
"built": "2024-12-15 15:47:40 +0000"
},
"drivers": {
"flutter": {
"automationName": "Flutter",
"platformNames": [
"iOS",
"Android"
],
"mainClass": "FlutterDriver",
"doctor": {
"checks": [
"./build/lib/doctor/checks.js"
]
},
"pkgName": "appium-flutter-driver",
"version": "2.11.0",
"appiumVersion": "^2.4.1",
"installType": "npm",
"installSpec": "[email protected]",
"installPath": "/Users/berkinmecik/node_modules/appium-flutter-driver"
},
"xcuitest": {
"automationName": "XCUITest",
"platformNames": [
"iOS",
"tvOS"
],
"mainClass": "XCUITestDriver",
"scripts": {
"build-wda": "./scripts/build-wda.js",
"open-wda": "./scripts/open-wda.js"
}
- Test device : iOS 18.1.1 Real device
Minimal Reproducible Example
Further Information
No response