kane-cli version
0.6.1 (latest)
Operating System
Windows (x64)
Installation method
npm
What happened?
User[joko.supriyanto@skygenusa.com] has reported an issue while using KaneCLI in Agent Mode to automate a locally hosted application.
During execution, the test consistently fails while attempting to click on a navigation element. The failure is not caused by the application interaction itself but occurs when KaneCLI attempts to capture a screenshot and log the execution.
version of KaneCLI: 0.5.0
After update to latest, same issue occurs
The reported error is:
Reason: Screenshot failed: UnicodeEncodeError: 'charmap' codec can't encode character '\u25be' in position 293: character maps to <undefined> — bug verdict: Unicode screenshot logging crash on dropdown character [environment_issue/platform_failure, confidence 0.94]

We have connected over the call and tried with both Agent mode and TUI mode, failing in both modes
checked the /summary of the step:
╭────────────────────────────────────────────────────────────────────╮ │ │ │ ✗ FAILED │ │ 1 steps · 3.5s · 4.7376 credits │ │ │ │ ● The run used text containing a special symbol, and the │ │ automation environment was not set up to save or report that │ │ character correctly. The app kept working, but the test │ │ infrastructure crashed. │ │ │ │ ● Update the automation/reporting environment to use │ │ Unicode-safe encoding, or avoid including special symbols │ │ like the caret in logged locator text and screenshot │ │ annotations. │ │ │ │ Reason: Screenshot failed: UnicodeEncodeError: 'charmap' codec │ │ can't encode character '\u25be' in position 287: character maps │ │ to <undefined> │ │ │ ╰────────────────────────────────────────────────────────────────────╯
Below are the URLs of the KaneCLI test case:
Test:
C:\src\Automation\KaneCLI.testmuai\tests\2026-07-15T18-34-15_test.md
Output:
C:\src\Automation\KaneCLI.testmuai\tests\output-2026-07-15T18-34-15
ShareLink:
https://test-manager.lambdatest.com/projects/01K7M6JQ4QJQG1KJ5X49YJ2JQG/test-cases/01KXKGRDXKXM7CV2D9NR49XMK2/dashboard/share/US_YGF1XGQK2IQ68LQGV2GE4UV02PRQ4H0T0HOUYS0M5L9JIZGZO8ED7Z3NBU6O6HXS?type=summary&agentView=true&fqdn=summary-page
TestCase:
https://test-manager.lambdatest.com/projects/01K7M6JQ4QJQG1KJ5X49YJ2JQG/test-cases/01KXKGRDXKXM7CV2D9NR49XMK2/dashboard?type=summary&agentView=true&fqdn=summary-page
KaneCLI test case auteur test id: 1c30c825-96e2-404f-8892-1d457720d5dc
Didn't able to find any Auteur logs in Sumo nor in Datadog
I have tried the same flow in KaneAI, and it is working fine as expected there.
KaneAI test case: https://kaneai.lambdatest.com/projects/01K7M8QX3TTGPJ94S0JEC9D9GB/test-cases/01KXKYE3FMJ9WXWYS6NYMG38A5/dashboard?type=summary
Support Access: https://backend-app.lambdatest.com/resources/users/3002318#Basic=basic&Other=test&Relations=test-summary&Action%20Info=actions
User Steps:

Agent mode error:

/Summary of the step:

We have also asked user to
Additional details
We can't reproduce this issue as the user is testing their local website.
The issue is irreproducible at public website on our end.
Error output / logs
Reason: Screenshot failed: UnicodeEncodeError: 'charmap' codec can't encode character '\u25be' in position 293: character maps to <undefined> — bug verdict: Unicode screenshot logging crash on dropdown character [environment_issue/platform_failure, confidence 0.94]
kane-cli version
0.6.1 (latest)
Operating System
Windows (x64)
Installation method
npm
What happened?
User[joko.supriyanto@skygenusa.com] has reported an issue while using KaneCLI in Agent Mode to automate a locally hosted application.
During execution, the test consistently fails while attempting to click on a navigation element. The failure is not caused by the application interaction itself but occurs when KaneCLI attempts to capture a screenshot and log the execution.
version of KaneCLI: 0.5.0
After update to latest, same issue occurs
The reported error is:

Reason: Screenshot failed: UnicodeEncodeError: 'charmap' codec can't encode character '\u25be' in position 293: character maps to <undefined> — bug verdict: Unicode screenshot logging crash on dropdown character [environment_issue/platform_failure, confidence 0.94]We have connected over the call and tried with both Agent mode and TUI mode, failing in both modes
checked the /summary of the step:
╭────────────────────────────────────────────────────────────────────╮ │ │ │ ✗ FAILED │ │ 1 steps · 3.5s · 4.7376 credits │ │ │ │ ● The run used text containing a special symbol, and the │ │ automation environment was not set up to save or report that │ │ character correctly. The app kept working, but the test │ │ infrastructure crashed. │ │ │ │ ● Update the automation/reporting environment to use │ │ Unicode-safe encoding, or avoid including special symbols │ │ like the caret in logged locator text and screenshot │ │ annotations. │ │ │ │ Reason: Screenshot failed: UnicodeEncodeError: 'charmap' codec │ │ can't encode character '\u25be' in position 287: character maps │ │ to <undefined> │ │ │ ╰────────────────────────────────────────────────────────────────────╯Below are the URLs of the KaneCLI test case:
Test:
C:\src\Automation\KaneCLI.testmuai\tests\2026-07-15T18-34-15_test.md
Output:
C:\src\Automation\KaneCLI.testmuai\tests\output-2026-07-15T18-34-15
ShareLink:
https://test-manager.lambdatest.com/projects/01K7M6JQ4QJQG1KJ5X49YJ2JQG/test-cases/01KXKGRDXKXM7CV2D9NR49XMK2/dashboard/share/US_YGF1XGQK2IQ68LQGV2GE4UV02PRQ4H0T0HOUYS0M5L9JIZGZO8ED7Z3NBU6O6HXS?type=summary&agentView=true&fqdn=summary-page
TestCase:
https://test-manager.lambdatest.com/projects/01K7M6JQ4QJQG1KJ5X49YJ2JQG/test-cases/01KXKGRDXKXM7CV2D9NR49XMK2/dashboard?type=summary&agentView=true&fqdn=summary-page
KaneCLI test case auteur test id: 1c30c825-96e2-404f-8892-1d457720d5dc
Didn't able to find any Auteur logs in Sumo nor in Datadog
I have tried the same flow in KaneAI, and it is working fine as expected there.
KaneAI test case: https://kaneai.lambdatest.com/projects/01K7M8QX3TTGPJ94S0JEC9D9GB/test-cases/01KXKYE3FMJ9WXWYS6NYMG38A5/dashboard?type=summary
Support Access: https://backend-app.lambdatest.com/resources/users/3002318#Basic=basic&Other=test&Relations=test-summary&Action%20Info=actions
User Steps:

Agent mode error:

/Summary of the step:

We have also asked user to
Additional details
We can't reproduce this issue as the user is testing their local website.
The issue is irreproducible at public website on our end.
Error output / logs