appium / appium/java-client

Feature Request: Use getPageSource output to get element Text

Open
#1,291 0 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

Description

After upgrading Xcode to version 11, appium is not returning element text through getText() or getAttribute(value)/getAttribute(label).
When checked the page source output, the xml has values for all the attributes.
Is it possible to make java client to getText() or getAttribute() using getPageSource() output instead of using XCUITest-WebDriverAgent server calls?

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 by reading the Java client entry points for getText(), getAttribute(), and getPageSource(), then reproduce the post-Xcode 11 behavior described in the issue. No files or tests are named; done would mean the requested element text and attribute values can be obtained from page-source output instead of the XCUITest-WebDriverAgent calls.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, java
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.