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

MobileBy.image is clicking the wrong one - Edition 32 #6

Open
shridharkalagi opened this issue Sep 5, 2018 · 5 comments
Open

MobileBy.image is clicking the wrong one - Edition 32 #6

shridharkalagi opened this issue Sep 5, 2018 · 5 comments

Comments

@shridharkalagi
Copy link

I was trying to click on - 'Edition031_Reference_Image.png' using MobileBy.image. But it is clicking on some other image.

image

@shridharkalagi
Copy link
Author

@jlipps any update pls?

@jlipps
Copy link
Contributor

jlipps commented Sep 17, 2018

Interesting. What happens if you try it on a Nexus S emulator? I'm wondering if screen size difference is coming into play here. You could also try messing with some of the settings discussed in edition 32, particularly the match threshold, to see if a higher threshold finds a better image?

@dqlambor
Copy link

dqlambor commented Oct 16, 2018

hi @jlipps ,
I got an error with the method MobileBy.image(getReferenceImageB64())
=> The method image(String) is undefined for the type MobileBy
I'm using selenium-java-3.14 and the java-client-6.1.0, hamcrest-library-1.3
Can you help to look at this,
Thanks

@jlipps
Copy link
Contributor

jlipps commented Oct 16, 2018

@dqlambor you'll need to get java client master, the image locator strategy is not yet published.

@praveenallamz
Copy link

Hi,
I am facing the "java.lang.NoSuchMethodError: io.appium.java_client.MobileBy.image(Ljava/lang/String;)Lorg/openqa/selenium/By;" any suggestions . please respond

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

No branches or pull requests

4 participants