Skip to content

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

Closed

Description

@ishansaini

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

Activity

  1. KazuCocoa commented on Jul 26, 2018

    @KazuCocoa
    Member

    Which client version do you use?

  2. ishansaini commented on Jul 30, 2018

    @ishansaini
    Author

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

  3. KazuCocoa commented on Aug 6, 2018

    @KazuCocoa
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions