Is it possible to use Appium Inspector with Kepler device?

Hello,

I am currently working on automatiion for Kepler device and facing some issues trying to inspect UI.
I am able to connect to devcie using vda. Also it is possible for me to execute automation test cases using appium + wdio9.
But when I am trying to connect Kepler device to Appium Inspector it creates session but there is no UI screenshot which makes difficult to find locators which I can use in creatiion of new test cases and it slows me down in developing.
ENV:
kepler --version
0.20.3719
appium --version
2.19.0
appium driver: kepler@3.19.0 (automationName ‘automation-toolkit/JSON-RPC’)

Here is what it looks like when connected in Appium Inspector:

Thanks

Hi @Hryhorii_Solonynka,

Welcome to the Amazon Developer Community!

Thank you for your question about using Appium Inspector with Kepler devices. I understand you’re able to connect successfully but aren’t seeing UI screenshots, which makes element inspection challenging.

Workaround Available:

While we investigate this issue, you can use Vega’s built-in Developer Menu for UI inspection:

  1. Set up port forwarding:

    # For Fire TV Stick:
    vda reverse tcp:8081 tcp:8081 && vda reverse tcp:8097 tcp:8097
    
    # For Vega Virtual Device:
    kepler device start-port-forwarding --device <DEVICE_NAME> -p 8081 --forward false
    
  2. Start your Metro bundler: npm start

  3. In the Metro terminal, press d to open the developer menu, then select “Show Element Inspector”

This will provide visual UI inspection directly on your device with element properties and hierarchy, allowing you to identify locators for your test automation.

Helpful Resources:

We’ll provide an update as soon as we have more information from our engineering team.

Thanks for helping us improve the Vega platform!

Warm regards,
Aishwarya

Hello @amen ,
Thanks for response.
I will try suggested method. Thank you.
Meanwhile here is a part of appium logs when I am tryig to get page source in Apium inspector:

[df84bf97][HTTP] --> GET /session/df84bf97-2565-40a1-91cd-faaa3149a73c/screenshot {}
[df84bf97][KeplerDriver@1ebc] Calling AppiumDriver.getScreenshot() with args: ["df84bf97-2565-40a1-91cd-faaa3149a73c"]
Running /executeScript with script=getScreenshot, args=[ 'df84bf97-2565-40a1-91cd-faaa3149a73c', [length]: 1 ]
Sending jsonRPC POST http://127.0.0.1:15240/jsonrpc id=0, method=takeScreenshot, params object={}
received jsonrpc response in 53ms (http 200 OK): {"error":{"code":-32603,"data":null,"message":"INTERNAL_ERROR: : Failed to take screenshot. Reason: Screenshot error: Buffer is null"},"id":"0","jsonrpc":"2.0"} 
[df84bf97][KeplerDriver@1ebc] Responding to client with driver.getScreenshot() result: null
[df84bf97][HTTP] <-- GET /session/df84bf97-2565-40a1-91cd-faaa3149a73c/screenshot 304 54 ms - - 
[df84bf97][HTTP] --> GET /session/df84bf97-2565-40a1-91cd-faaa3149a73c/window/rect {}
[df84bf97][KeplerDriver@1ebc] Calling AppiumDriver.getWindowRect() with args: ["df84bf97-2565-40a1-91cd-faaa3149a73c"]
Running /executeScript with script=getWindowRect, args=[ 'df84bf97-2565-40a1-91cd-faaa3149a73c', [length]: 1 ]
Sending jsonRPC POST http://127.0.0.1:15240/jsonrpc id=0, method=getWindowRect, params object={}
received jsonrpc response in 5ms (http 200 OK): {"id":"0","jsonrpc":"2.0","result":{"height":1080,"width":1920,"x":0,"y":0}} 
[df84bf97][KeplerDriver@1ebc] Responding to client with driver.getWindowRect() result: {"x":0,"y":0,"width":1920,"height":1080}
[df84bf97][HTTP] <-- GET /session/df84bf97-2565-40a1-91cd-faaa3149a73c/window/rect 304 5 ms - - 
[df84bf97][HTTP] --> GET /session/df84bf97-2565-40a1-91cd-faaa3149a73c/source {}
[df84bf97][KeplerDriver@1ebc] Calling AppiumDriver.getPageSource() with args: ["df84bf97-2565-40a1-91cd-faaa3149a73c"]
Running /executeScript with script=getPageSource, args=[ 'df84bf97-2565-40a1-91cd-faaa3149a73c', [length]: 1 ]
Sending jsonRPC POST http://127.0.0.1:15240/jsonrpc id=0, method=getPageSource, params object={}
received jsonrpc response in 202ms

BTW while running automation we are getting excat the same error geting screenshot:

Sending jsonRPC POST http://127.0.0.1:15240/jsonrpc id=0, method=takeScreenshot, params object={}
received jsonrpc response in 53ms (http 200 OK): {"error":{"code":-32603,"data":null,"message":"INTERNAL_ERROR: : Failed to take screenshot. Reason: Screenshot error: Buffer is null"},"id":"0","jsonrpc":"2.0"}

Thanks

Hello @Hryhorii_Solonynka
Are you using a physical screen/monitor or a video capture card?
The screenshot has some problem with video capture card.
We recommand you to use a physical screen/monitor for the testing.

Hello @Wenguang_Hu ,
Yes, I am using capture card but not direclty with Kepler device.
Device is connected to HDMI 4X1 Quad Multi-viewer to split the screen as I am using some more devices for streaming (Firetv, AndroidTV, AppleTV) and then this multi viewer device is connected to capture card to get video in OBS studio.
Trying to use kepler connected directly to monitor solves the issue with Appium Inspector.
Thanks a lot for pointing me to the root cause of the issue.

Hello @Wenguang_Hu ,
I connected my stick to the monitor and was able to get screenshot once when started the session in appium inspector. But all next attempts to get a screenshot did not work showing loading in Appium inspector. And in logs I can see the same buffer null error:

[be2076d8][KeplerDriver@9ffa] Calling AppiumDriver.getScreenshot() with args: ["be2076d8-68be-4519-a1fb-ece0e8f1e4e4"]
Running /executeScript with script=getScreenshot, args=[ 'be2076d8-68be-4519-a1fb-ece0e8f1e4e4', [length]: 1 ]
Sending jsonRPC POST http://127.0.0.1:15000/jsonrpc id=0, method=takeScreenshot, params object={}
received jsonrpc response in 29ms (http 200 OK): {"error":{"code":-32603,"data":null,"message":"INTERNAL_ERROR: : Failed to take screenshot. Reason: Screenshot error: Buffer is null"},"id":"0","jsonrpc":"2.0"} 
[be2076d8][KeplerDriver@9ffa] Responding to client with driver.getScreenshot() result: null
[be2076d8][HTTP] <-- GET /session/be2076d8-68be-4519-a1fb-ece0e8f1e4e4/screenshot 200 33 ms - 14 
[be2076d8][HTTP] --> GET /session/be2076d8-68be-4519-a1fb-ece0e8f1e4e4/window/rect {}
[be2076d8][KeplerDriver@9ffa] Calling AppiumDriver.getWindowRect() with args: ["be2076d8-68be-4519-a1fb-ece0e8f1e4e4"]
Running /executeScript with script=getWindowRect, args=[ 'be2076d8-68be-4519-a1fb-ece0e8f1e4e4', [length]: 1 ]
Sending jsonRPC POST http://127.0.0.1:15000/jsonrpc id=0, method=getWindowRect, params object={}
received jsonrpc response in 11ms (http 200 OK): {"id":"0","jsonrpc":"2.0","result":{"height":1080,"width":1920,"x":0,"y":0}} 
[be2076d8][KeplerDriver@9ffa] Responding to client with driver.getWindowRect() result: {"x":0,"y":0,"width":1920,"height":1080}```

UPD: Appium inspector is able to get srceenshot after stcik reboot but only once before the next reboot.


Regards,
Hryhorii

Hi @Hryhorii_Solonynka ,

I see you’re testing using v0.203719, are you planning on upgrading to the latest v0.22 SDK?

Thanks, Carlos

Hello @Carlos_Salas ,
We are currently in the process of migration to 0.22.

Thanks,
Hryhorii

Hello @Hryhorii_Solonynka
If it is possible.
Could you get the appium log
which has the log of succeed to get screen shot and fail to get screen shot together?

I want to check what is going on

between the succeed and fail

Hello @Wenguang_Hu ,

Sorry for the long response.

Here some logs for the Appium inspector issue.

Here is the session creation after reboot:

childProcessExec succeeded after 96ms
[AppiumDriver@3ca7] New KeplerDriver session created successfully, session 74b80888-9cdb-4c48-8c52-e5288d2ea5b8 added to master session list
[AppiumDriver@3ca7] Event 'newSessionStarted' logged at 1770912042020 (17:00:42 GMT+0100 (Central European Standard Time))
[KeplerDriver@d6a1] Cached the protocol value 'W3C' for the new session 74b80888-9cdb-4c48-8c52-e5288d2ea5b8
[KeplerDriver@d6a1] Responding to client with driver.createSession() result: {"capabilities":{"platformName":"Kepler","browserName":"","kepler:device":"vda://default","kepler:jsonRPCPort":8383,"automationName":"automation-toolkit/JSON-RPC","appURL":"com.att.tv.main","newCommandTimeout":500,"deviceName":"192.168.8.105:5555","connectHardwareKeyboard":true}}
[HTTP] <-- POST /session 200 1030 ms - 341 
[74b80888][HTTP] --> GET /session/74b80888-9cdb-4c48-8c52-e5288d2ea5b8/appium/settings {}
[74b80888][KeplerDriver@d6a1] Calling AppiumDriver.getSettings() with args: ["74b80888-9cdb-4c48-8c52-e5288d2ea5b8"]
Running /executeScript with script=getSettings, args=[ '74b80888-9cdb-4c48-8c52-e5288d2ea5b8', [length]: 1 ]
[74b80888][KeplerDriver@d6a1] Responding to client with driver.getSettings() result: {}
[74b80888][HTTP] <-- GET /session/74b80888-9cdb-4c48-8c52-e5288d2ea5b8/appium/settings 200 6 ms - 12 
[74b80888][HTTP] --> GET /session/74b80888-9cdb-4c48-8c52-e5288d2ea5b8/screenshot {}
[74b80888][KeplerDriver@d6a1] Calling AppiumDriver.getScreenshot() with args: ["74b80888-9cdb-4c48-8c52-e5288d2ea5b8"]
Running /executeScript with script=getScreenshot, args=[ '74b80888-9cdb-4c48-8c52-e5288d2ea5b8', [length]: 1 ]
Sending jsonRPC POST http://127.0.0.1:15366/jsonrpc id=0, method=takeScreenshot, params object={}
received jsonrpc response in 1656ms (http 200 OK): {"id":"0","jsonrpc":"2.0","result":"iVBORw0KGgoAAAANSUhEUgAADwAAAAhwCAYAAACQvstyAAAgAElEQVR4Aey93ZYkOXKkORdksbvJYXO6+meas0PODvf9X7HWYWYfoBCDmALmFpGZVXERR1xFRUUAc48o8pzU9v/2j//9z7+Un3/4l5+nf5jJ5q50sbfi89M///xL+WH+6txoRv6xF1+P/GLf5aOJ83AFI19exx6vowZO8+D/6eVZeszAa+106CMyWxD+s/JXzsnZIrp5x8fZ8npWp3PUbt7xzIGzOvSKbf4vr8/EX+r71/j9s6Jz1E3Xz9O/i7nvX19nLT/8jszmt7mrs/l85sH976D3Up3Wbt7p/vrLT//6t19++uNftp/9GRRt5qNz6DWHGlSd+jjd7JybH/PcGzzff5/7h3/96y/lR3Vaj+b759vfg3nF9vw59/g5MUeu1oV/Kn/zOj4n5IAunz6IDoTfzjj4HNI/6TlHmXn9aF9r63PMv5uPP3jKN+esuXKO07zcl5w6L/06n/lKH7/TvPijqyj907ze3+Ti5+bppyjnQT/rO6vDdxZnff/hX1//HXr9zPrO6urfseT5z+r+8Y+v373Xz7v5qz7krc7pvZgH8XWoOq1n59Axr0hfER18Vjud49UPHUgfhAeVpwbRgcrP1qrL/FRPDWbz2ndzT/EuD3/Q6WZ5dL/74//8pfxkvvRBnYPHlxpUnnnQ6eBVpzU6RXTfez7n1PNTa19rdIpOB6+o89ToZmunU/6nf/ufv5Qf9UcHap8518945kH1Zx6kDzKnfa1VRx8exJe+1qqjdnrmVYceXpE+89To4Km1T+10yuMDMu9qeHBWrzrmFVWntep/98d/f312/337DJee0zte/WZ1Okft5h3PHDirQ6/4j3/8++sZ/L0+D/qzvrM6fBV9/vhcP/1bee/i++d0+9+pltfPNV51e30+F/Og0+HX6/TcPn+fy/PVn1xQ+7O16nq/f/off/+l/Jzvo (LOTS OF SUCH OUTPUT)

At his point screenshot is visible in Appium Inspector but not very usefull as this a Loading srceen :slight_smile:
By “LOTS OF SUCH OUTPUT” I mean very, very long output of the text.

This is the response for srceenshot and the end of that LONG OUTPUT:

=\"100\"/></traits></child></child><child x=\"1496\" y=\"968\" width=\"144\" height=\"80\" id=\"4294967488\" test_id=\"ContentTab_ImageContainer_com.amazon.cloud9\"><traits><compoundComponent mergeDescendants=\"false\"/><visibility alpha=\"100\" zIndex=\"1\"/></traits><child x=\"1496\" y=\"968\" width=\"144\" height=\"80\" id=\"4294967489\" role=\"image\" test_id=\"PlutoImage-ContentTab_AnimatedImage_com.amazon.cloud9\"><traits><compoundComponent mergeDescendants=\"false\"/><visibility alpha=\"100\"/></traits></child></child><child x=\"1648\" y=\"968\" width=\"80\" height=\"80\" id=\"4294967490\" test_id=\"214\"><traits><compoundComponent mergeDescendants=\"false\"/><visibility alpha=\"100\" zIndex=\"1\"/></traits><child x=\"1648\" y=\"968\" width=\"80\" height=\"80\" id=\"4294967491\" test_id=\"UtilityTab_Shape_l_apps\"><traits><compoundComponent mergeDescendants=\"false\"/><visibility alpha=\"100\" zIndex=\"1\"/></traits></child><child x=\"1668\" y=\"988\" width=\"40\" height=\"40\" id=\"4294967492\" test_id=\"UtilityTab_ImageContainer_l_apps\"><traits><compoundComponent mergeDescendants=\"false\"/><visibility alpha=\"100\" zIndex=\"99\"/></traits><child x=\"1668\" y=\"988\" width=\"40\" height=\"40\" id=\"4294967493\" role=\"image\" test_id=\"PlutoImage-UtilityTab_AnimatedImage_l_apps\"><traits><compoundComponent mergeDescendants=\"false\"/><visibility alpha=\"100\" zIndex=\"1\"/></traits></child></child></child><child x=\"1736\" y=\"968\" width=\"80\" height=\"80\" id=\"4294967494\" test_id=\"226\"><traits><compoundComponent mergeDescendants=\"false\"/><visibility alpha=\"100\" zIndex=\"1\"/></traits><child x=\"1736\" y=\"968\" width=\"80\" height=\"80\" id=\"4294967495\" test_id=\"UtilityTab_Shape_l_settings\"><traits><compoundComponent mergeDescendants=\"false\"/><visibility alpha=\"100\" zIndex=\"1\"/></traits></child><child x=\"1756\" y=\"988\" width=\"40\" height=\"40\" id=\"4294967496\" test_id=\"UtilityTab_ImageContainer_l_settings\"><traits><compoundComponent mergeDescendants=\"false\"/><visibility alpha=\"100\" zIndex=\"99\"/></traits><child x=\"1756\" y=\"988\" width=\"40\" height=\"40\" id=\"4294967497\" role=\"image\" test_id=\"PlutoImage-UtilityTab_AnimatedImage_l_settings\"><traits><compoundComponent mergeDescendants=\"false\"/><visibility alpha=\"100\" zIndex=\"1\"/></traits></child></child></child></child></child></child></child></child></child></window></app></root>\n"}  (HERE LONG OUTPUT ENDS)
[74b80888][KeplerDriver@d6a1] Responding to client with driver.getPageSource() result: "<?xml version=\"1.0\"?>\n<root id=\"1\"><app id=\"8589934593\" appName=\"com.att.tv\"><traits><publisherRoot uccVersionMajor=\"0\" uccProtocolVersionMinor=\"8\" toolkitVersion=\"1.0\" uccVersionMinor=\"7\" uccProtocolVersionMajor=\"0\" toolkitName=\"UIToolkit\" applicationName=\"com.att.tv\" keplerAppId=\"62\" parentElementId=\"0\"/></traits><window x=\"0\" y=\"0\" width=\"0\" height=\"0\" id=\"8589934594\" alpha=\"100\" test_id=\"1\"><traits><compoundComponent mergeDescendants=\"false\"/><visibility alpha=\"100\"/><window id=\"3\"/></traits></window></app><app id=\"4294967297\" appName=\"com.amazon.smplighthouse.launcher\"><traits><publisherRoot uccVersionMajor=\"0\" uccProtocolVersionMinor=\"8\" toolkitVersion=\"1.0\" uccVersionMinor=\"7\" uccProtocolVersionMajor=\"0\" toolkitName=\"UIToolkit\" applicationName=\"com.amazon.smplighthouse.launcher\" keplerAppId=\"3\" parentElementId=\"0\"/></traits><window x=\"0\" y=\"0\" width=\"1920\" height=\"1080\" id=\"4294967298\" index=\"2147483647\" alpha=\"100\" ...

Here is the next attepmt to get a screenshot:

[74b80888][KeplerDriver@d6a1] Calling AppiumDriver.getScreenshot() with args: ["74b80888-9cdb-4c48-8c52-e5288d2ea5b8"]
Running /executeScript with script=getScreenshot, args=[ '74b80888-9cdb-4c48-8c52-e5288d2ea5b8', [length]: 1 ]
Sending jsonRPC POST http://127.0.0.1:15366/jsonrpc id=0, method=takeScreenshot, params object={}
received jsonrpc response in 58ms (http 200 OK): {"error":{"code":-32603,"data":null,"message":"INTERNAL_ERROR: : Failed to take screenshot. Reason: Screenshot error: Buffer is null"},"id":"0","jsonrpc":"2.0"} 
[74b80888][KeplerDriver@d6a1] Responding to client with driver.getScreenshot() result: null
[74b80888][HTTP] <-- GET /session/74b80888-9cdb-4c48-8c52-e5288d2ea5b8/screenshot 200 81 ms - 14 
[74b80888][HTTP] --> GET /session/74b80888-9cdb-4c48-8c52-e5288d2ea5b8/window/rect {}
[74b80888][KeplerDriver@d6a1] Calling AppiumDriver.getWindowRect() with args: ["74b80888-9cdb-4c48-8c52-e5288d2ea5b8"]
Running /executeScript with script=getWindowRect, args=[ '74b80888-9cdb-4c48-8c52-e5288d2ea5b8', [length]: 1 ]
Sending jsonRPC POST http://127.0.0.1:15366/jsonrpc id=0, method=getWindowRect, params object={}
received jsonrpc response in 12ms (http 200 OK): {"id":"0","jsonrpc":"2.0","result":{"height":2160,"width":3840,"x":0,"y":0}} 
[74b80888][KeplerDriver@d6a1] Responding to client with driver.getWindowRect() result: {"x":0,"y":0,"width":3840,"height":2160}
[74b80888][HTTP] <-- GET /session/74b80888-9cdb-4c48-8c52-e5288d2ea5b8/window/rect 304 19 ms - - 
[74b80888][HTTP] --> GET /session/74b80888-9cdb-4c48-8c52-e5288d2ea5b8/source {}
[74b80888][KeplerDriver@d6a1] Calling AppiumDriver.getPageSource() with args: ["74b80888-9cdb-4c48-8c52-e5288d2ea5b8"]
Running /executeScript with script=getPageSource, args=[ '74b80888-9cdb-4c48-8c52-e5288d2ea5b8', [length]: 1 ]
Sending jsonRPC POST http://127.0.0.1:15366/jsonrpc id=0, method=getPageSource, params object={}
received jsonrpc response in 140ms (http 200 OK): {"id":"0","jsonrpc":"2.0","result":"<?xml version=\"1.0\"?>\n<root id=\"1\"><app id=\"8589934593\" appName=\"com.att.tv\"><traits><publisherRoot uccVersionMajor=\"0\" uccProtocolVersionMinor=\"8\" toolkitVersion=\"1.0\" uccVersionMinor=\"7\" uccProtocolVersionMajor=\"0\" toolkitName=\"UIToolkit\" applicationName=\"com.att.tv\" keplerAppId=\"62\" parentElementId=\"0\"/></traits><window x=\"0\" y=\"0\" width=\"1920\" height=\"1080\" id=\"8589934594\" index=\"0\" alpha=\"100\" zOrder=\"0\" test_id=\"1\"><traits><compoundComponent mergeDescendants=\"false\"/><visibility alpha=\"100\" zOrder=\"0\"/><window id=\"3\" index=\"0\"/></traits><child x=\"0\" y=\"0\" width=\"1920\" height=\"1080\" id=\"8589934595\" test_id=\"14\"><traits><compoundComponent mergeDescendants=\"false\"/><visibility alpha=\"100\"/></traits></child><child x=\"0\" y=\"0\" width=\"1920\" height=\"1\" id=\"8589934596\" focusable=\"true\" focused=\"false\" test_id=\"focusBackHandler_NavigationWrapper\" role=\"button\"><traits><compoundComponent mergeDescendants=\"true\"/><visibility alpha=\"100\"/><enableable enabled=\"true\"/><focusable setFocus=\"418\" focused=\"false\"/></trai (AGAIN VERY LONG OUTPUT)

Here is the response:

ild><child x=\"1736\" y=\"968\" width=\"80\" height=\"80\" id=\"4294967494\" test_id=\"226\"><traits><compoundComponent mergeDescendants=\"false\"/><visibility alpha=\"100\" zIndex=\"1\"/></traits><child x=\"1736\" y=\"968\" width=\"80\" height=\"80\" id=\"4294967495\" test_id=\"UtilityTab_Shape_l_settings\"><traits><compoundComponent mergeDescendants=\"false\"/><visibility alpha=\"100\" zIndex=\"1\"/></traits></child><child x=\"1756\" y=\"988\" width=\"40\" height=\"40\" id=\"4294967496\" test_id=\"UtilityTab_ImageContainer_l_settings\"><traits><compoundComponent mergeDescendants=\"false\"/><visibility alpha=\"100\" zIndex=\"99\"/></traits><child x=\"1756\" y=\"988\" width=\"40\" height=\"40\" id=\"4294967497\" role=\"image\" test_id=\"PlutoImage-UtilityTab_AnimatedImage_l_settings\"><traits><compoundComponent mergeDescendants=\"false\"/><visibility alpha=\"100\" zIndex=\"1\"/></traits></child></child></child></child></child></child></child></child></child></window></app></root>\n"}  (HERE LONG OUTPUT ENDS)
[74b80888][KeplerDriver@d6a1] Responding to client with driver.getPageSource() result: "<?xml version=\"1.0\"?>\n<root id=\"1\"><app id=\"8589934593\" appName=\"com.att.tv\"><traits><publisherRoot uccVersionMajor=\"0\" uccProtocolVersionMinor=\"8\" toolkitVersion=\"1.0\" uccVersionMinor=\"7\" uccProtocolVersionMajor=\"0\" toolkitName=\"UIToolkit\" applicationName=\"com.att.tv\" keplerAppId=\"62\" parentElementId=\"0\"/></traits><window x=\"0\" y=\"0\" width=\"1920\" height=\"1080\" id=\"8589934594\" index=\"0\" alpha=\"100\" zOrder=\"0\" test_id=\"1\"><traits><compoundComponent mergeDescendants=\"false\"/><visibility alpha=\"100\" zOrder=\"0\"/><window id=\"3\" index=\"0\"/></traits><child x=\"0\" y=\"0\" width=\"1920\" height=\"1080\" id=\"8589934595\" test_id=\"14\"><traits><compoundComponent mergeDescendants=\"false\"/><visibility alpha=\"100\"/></traits></child><child x=\"0\" y=\"0\" width=\"1920\" height=\"1\" id=\"8589934596\" focusable=\"true\" focused=\"false\" test_id=\"focusBackHandler_NavigationWrapper\" role=\"button\"><traits><compoundComponent mergeDescendants=\"true\"/><visibi...
[74b80888][HTTP] <-- GET /session/74b80888-9cdb-4c48-8c52-e5288d2ea5b8/source 200 265 ms - 94092 

At this point in Appium inspector there is only loanding sign without a screenshot.
Attached appium.log file maybe it would more informative.
Hopefully this helps.

Thanks.

WBR,
Hryhorii Solonynka

P.S.
Each time to get a screenshot I need to reboot the device
appium.log (42.5 KB)

Hello @Wenguang_Hu ,

BTW the same behavior is observed on Vega SDK Version: 0.22.5850

Thanks.

WBR,
Hryhorii Solonynka

Hello @Hryhorii_Solonynka
Thank you very much for the log.
Sorry for the delay of reply.
We are looking into this issue.