ladybird/Userland/Libraries/LibWeb/Tests/libweb_tester.d.ts
2021-01-12 12:17:46 +01:00

17 lines
428 B
TypeScript

// 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;
}