libweb_tester.d.ts 428 B

12345678910111213141516
  1. // NOTE: This file is only for syntax highlighting, documentation, etc.
  2. interface LibwebTester {
  3. /**
  4. * Changes the page to the specified URL. Everything afterwards will refer to the new page.
  5. * @param url Page to load.
  6. */
  7. changePage(url: string): void;
  8. }
  9. interface Window {
  10. /**
  11. * Special test object used to ease test development for LibWeb.
  12. */
  13. readonly libweb_tester: LibwebTester;
  14. }