macacajs / macacajs/XCTestWD

H5页面开发代码中怎么嵌入XCTestWD能识别的ID

Open
#116 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
236
Forks
62
PR merge metrics
No merged PRs in 30d

Description

如题 各位大神 请教一下 软件中内嵌了H5页面 H5开发代码中怎么写 才能通过XCTetstWD识别出其元素
ID就是我添加的
在H5中添加id=“xx” 和 name = "xx" 都不行 求教了

Contributor guide

Open the contributing guide

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 embedded H5 markup described in the issue and investigate how XCTestWD locates elements inside iOS web content. Verify whether the supplied HTML id and name attributes are exposed to XCTestWD, and consider the issue resolved when a documented H5 element can be identified reliably.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, swift
Domain
mobile-dev, testing
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.