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

'WebDriver' object has no attribute 'find_element_by_image' #233

Closed
ishansaini opened this issue Jul 26, 2018 · 3 comments
Closed

'WebDriver' object has no attribute 'find_element_by_image' #233

ishansaini opened this issue Jul 26, 2018 · 3 comments

Comments

@ishansaini
Copy link

Unable to use find_element_by_image() locator.
Appium client : python
Appium version: 1.8.0
Platform: Android
Platform Versrion: 7.1.1
Device: Nexus_5X (emulator)

python_findByImage.log

@KazuCocoa
Copy link
Member

Which client version do you use?

@ishansaini
Copy link
Author

@KazuCocoa Its the latest one. I installed it using pip.

@KazuCocoa
Copy link
Member

Did you call the method with driver.find_element_by_image(self, ....)?

driver.find_element_by_image(self, '/Users/ishansaini/Documents/python_appium/python-client/test/functional/android/find_by_image_success.png', 5)

What about getting rid of self from there? @Messianic


BTW, the method will change like #236

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

2 participants