Skip to content

Unable to find element using :uiautomator #527

@willosser

Description

@willosser

Environment: OS X Yosemite (10.10.5), Ruby 2.2.5, Appium 1.6.3
Gems: appium_lib-9.3.6, selenium-webdriver-3.3.0
Also fails with appium_lib-9.3.5 and appium_lib-9.3.4
Android: android-sdk/24.4.1_1

We had been using this code with no issues with Appium 1.4.13, Selenium-webdriver.2.53.4 and appium_lib-8.0.2. My memory tells me that this was working just three weeks ago with (perhaps) some slight gem changes, but I have no physical evidence demonstrating that.
appium-android.txt

When calling driver.find_element(:uiautomator, search_string), we receive the following error:

  cannot find element by :uiautomator (ArgumentError)
  /Users/wosser/.rvm/gems/ruby-2.2.5/gems/selenium-webdriver-3.3.0/lib/selenium/webdriver/common/search_context.rb:60:in `find_element'

I'm attaching the appium-android.txt log, although I don't believe the problem is reported there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions