.js"></script>
    <script src="/resources/testharnessreport.js"></script>
    <script src="/resources/testdriver.js"></script>
    <script src="/resources/testdriver-vendor.js"></script>
    <script>
    async function testElement(element) {
        const expectedText = "xyz";
        element.focus();
        await test_driver.send_keys(element, expectedText);
        assert_equals(element.value, expectedText, "Text should be entered");
        element.select();
        assert_equals(element.value.substrin