KhronosGroup / KhronosGroup/WebGL

WebDriver script should rely more on in-page functions

Open
#2,975 2 comments 0 reactions 1 assignee Claimed by @grorg View on GitHub
Dominant language
HTML
Stars
2.9k
Forks
703
Avg merge
2d 9h
Merged PRs (30d)
4

Description

The script in `tools/conformance.py` is very tightly bound to the structure of the conformance test harness, selecting elements by class name and then navigating the DOM. This is fairly brittle, because any change to the harness could break this script.

I suggest that instead the harness expose some JS APIs that the WebDriver can call to perform the operations. They would include:

- a list of tests (with a potential filter for directories/names)
- a way to invoke a particular test
- a signal that the test has passed/failed

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.