-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error is thrown when character is not recognized #18
Comments
Also I'm getting: "2022-11-18 21:40:09 ERROR Error: An error happened when parsing the getSystemOcrData, see: Error: An error happened when parsing the getSystemOcrData, see: Error: Attribute without value |
Sorry for the late response, do you have a sample I can run? |
@wswebcreation, sure
Error:
Screenshot saved by OCR: Screenshot of the screen in simulator: |
This one might be related as well
|
Environment (please complete the following information):
Config of WebdriverIO + wdio-ocr-service
An example of how you configured the wdio-ocr-service :
'ocr',
{
// The OCR options
ocrImagesPath: 'ocr-images/',
ocrLanguage: 'eng'
},
Describe the bug
On some areas of the screen following error is thrown:
Error: An error happened when parsing the getSystemOcrData, see: Error: An error happened when parsing the getSystemOcrData, see: Error: Invalid character in entity name Line: 29 Column: 7 Char:
To Reproduce
Steps to reproduce the behaviour:
Run
await driver.ocrGetText()
Expected behavior
I expect service to ignore unrecognised characters while parsing the values
Screenshot with cropped out area which causes this error:
The text was updated successfully, but these errors were encountered: