Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /infrastructure/crashtests/testdriver.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html class="test-wait">
<title>crashtests support testdriver.js</title>
<script src="/resources/testdriver.js"></script>
<script src="/resources/testdriver-vendor.js"></script>
<button>Complete the test</button>
<script>
const button = document.querySelector("button");
button.addEventListener("click", () => {
document.documentElement.classList.remove("test-wait");
});
test_driver.click(button);
</script>