"use strict";
// Copyright 2025 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
Object.defineProperty(exports, "__esModule", { value: true });
const elements_helpers_js_1 = require("../helpers/elements-helpers.js");
describe('The Elements tab', () => {
    it('updates DOM for prerender targets', async ({ devToolsPage, inspectedPage }) => {
        await inspectedPage.goToResource('recorder/prerender.html');
        await (0, elements_helpers_js_1.waitForElementWithPartialText)('The next page is prerendered', devToolsPage);
        await devToolsPage.click('aria/Page: Main');
        await devToolsPage.click('aria/prerendered.html prerender');
        await (0, elements_helpers_js_1.waitForElementWithPartialText)('Is this page prerendered?', devToolsPage);
    });
});
//# sourceMappingURL=prerender.test.js.map