Skip to content

ocr-service

Latest

Choose a tag to compare

@P-Courteille P-Courteille released this 15 Jul 07:27
· 1 commit to issue657_alt since this release

馃摑 Description

First Second attempt to fix the issues 657 and in the same time issue 983 for ocr-service scope only for now.


鉁忥笍 Modifications

  1. Evolution of ocrCommands with the link between:
    • the commandName
    • the function itself

In the previous version, inside the added OCR command function, we call again this function from the browser, so the code loop as reported in issue 657. Now OCR functions are called directly with secured context.

  1. Change the addCommand order for Multi Remote
    • first, add the command to Browser in a Multi Remote version (with a loop to do the function in each instance)
    • then, add the command to each instance in a Single Remote version

In this order, the @wdio\utils\build\index.js (line 388) will add the Multi Remote version to each instance but we will fix this mistake by add the Single Remote version after it.