Open Bug 1901250 Opened 1 year ago Updated 1 year ago

Error message for a11y locator start nodes should be updated to mention document

Categories

(Remote Protocol :: WebDriver BiDi, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: jdescottes, Unassigned, Mentored)

References

(Blocks 1 open bug)

Details

(Whiteboard: [lang=js][webdriver:backlog])

In Bug we updated the logic to accept document/document fragment, but the error message is still only mentioning elements:

Expected an item of "startNodes" to be an Element, got ${startNode}

https://searchfox.org/mozilla-central/rev/d3fea1aa852bb3a353a0a4a875c3685da11ce39b/remote/webdriver-bidi/modules/windowglobal/browsingContext.sys.mjs#531

We should update it to mention that we also accept document and document fragment.

Blocks: 1855020
Mentor: jdescottes
Severity: -- → S3
Priority: -- → P3
Whiteboard: [lang=js][webdriver:backlog]
You need to log in before you can comment on or make changes to this bug.