H5页面开发代码中怎么嵌入XCTestWD能识别的ID
Open
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
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 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