summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/Tests/libweb_tester.d.ts
blob: 23570e70f830fe9938d96fd2752c13b006d4039d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// NOTE: This file is only for syntax highlighting, documentation, etc.

interface LibwebTester {
    /**
     * Changes the page to the specified URL. Everything afterwards will refer to the new page.
     * @param url Page to load.
     */
    changePage(url: string): void;
}

interface Window {
    /**
     * Special test object used to ease test development for LibWeb.
     */
    readonly libweb_tester: LibwebTester;
}