appium / appium/java-client

unable to click an element(enable=true, clickable=false)

Open
#1,353 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.3k
Forks
752
Avg merge
6d 21h
Merged PRs (30d)
8

Description

The problem

clickable=false, enable =true unable to click the element

Environment

  • Desktop OS/version used to run Appium: 1.15.1
  • Mobile platform/version under test: android 7.0
  • Real device or emulator/simulator: real device

Details

Link to Appium logs

org.openqa.selenium.InvalidSelectorException: java.lang.IllegalArgumentException: Unable to compile 'android.widget.RadialTimePickerView$RadialPickerTouchHelper[@bounds='[908,1034][988,1114]']'. See Cause.

For documentation on this error, please visit: http://seleniumhq.org/exceptions/invalid_selector_exception.html

Code To Reproduce Issue [ Good To Have ]

Checked with bounds, still error
normal id, XPath all failed

also tried JavascriptExecutor

code:
WebElement element = driver.findElement(By.xpath("android.widget.RadialTimePickerView$RadialPickerTouchHelper[@bounds='[908,1034][988,1114]']"));

JavascriptExecutor executor = (JavascriptExecutor)driver;

executor.executeScript("arguments[0].click();", element);

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Java reproduction in the issue and the Appium log showing the InvalidSelectorException for the Android time-picker element. No repository file or test is identified; done would require a reproducible failure and a confirmed resolution for selecting or clicking that element.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.