Skip to content
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

[Espresso] Could not find matching setting. Known setting names are: [driver] #900

Closed
LissaRider opened this issue Aug 16, 2023 · 6 comments · Fixed by #901 or #902
Closed

[Espresso] Could not find matching setting. Known setting names are: [driver] #900

LissaRider opened this issue Aug 16, 2023 · 6 comments · Fixed by #901 or #902

Comments

@LissaRider
Copy link

LissaRider commented Aug 16, 2023

Hello. I use appium 2 with espresso. I'm trying to connect the ocr plugin, but I can't set the settings for ocr.
Moreover, there are no problems with setting up additional settings for ocr for UiAutomator2.
And so the plug-in is working for both drivers (for Espresso, you still have to change the settings manually in the plug-in index.js file).
"((HasSettings) driver).setSettings(ImmutableMap.of("ocrLanguage", "eng+rus"));" or " desiredCapabilities.setCapability("appium:settings[ocrLanguage]", "eng+rus");" don't work for Espresso

Appium v2.0.1
Available drivers:
espresso@2.25.0 (automationName 'Espresso')
uiautomator2@2.29.3 (automationName 'UiAutomator2')
<selenium.version>4.11.0</selenium.version>
<appium.version>8.5.1</appium.version>

Here's log file:
appiumServerLog.log

@KazuCocoa
Copy link
Member

Could you try #901 out?

@KazuCocoa
Copy link
Member

Could you try out 2.25.2?

@LissaRider
Copy link
Author

Could you try out 2.25.2?

I've tried it. The same error
appiumServerLog.log
I have a guess that there might be something wrong with the relationship between the appium itself and the espresso driver, or it might be a java client issue.
I saw a post with the same problem only for another client, but I did not find a similar alternative for Java.
https://discuss.appium.io/t/cannot-access-appium-settings-when-using-espresso-as-an-automation-name/38635

@KazuCocoa
Copy link
Member

Thanks.
Perhaps #902 is needed. I'll tweak the pr later

@KazuCocoa
Copy link
Member

What about 2.25.3?

@LissaRider
Copy link
Author

Hello. Sorry for the long answer. I was in the hospital.
I tried version 2.25.9 - now everything works. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants