Getting Bounds mismatch error when I try to use TouchAction with Java-Client latest 7.0
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.3k
- Forks
- 752
- Avg merge
- 6d 21h
- Merged PRs (30d)
- 8
Description
Please find the code below. (Driver is specific to our framework)
var TouchAction touch = new TouchAction(MobileActions.androidMobileDriver)
Error
Bounds mismatch: The type argument is not a valid substitute for the bounded type parameter of the constructor TouchAction(PerformsTouchActions)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the shown TouchAction declaration and the Java-client 7.0 TouchAction(PerformsTouchActions) constructor signature. Reproduce the compilation error with an equivalent driver type, then determine whether the reported driver satisfies the generic bound; done means the cause and a verified compatible usage or fix are documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100