//! Scripted runs for testing: `NACRE_SCRIPT=` makes Nacre run the commands in the file, one //! per line, and save screenshots and status files next to it. Lines starting with `#` are notes. //! //! wait let the browser run //! waitload [seconds] wait until the current tab finished loading (default limit 30 s) //! waitfor poll the expression until it gives true, at most s seconds (timeout fails the run) //! open load in the current tab newtab open in a new tab //! page show an internal page //! shot [pip] save the window (or the picture-in-picture window) as .png //! resize resize the window (logical pixels; in the hidden session through niri) //! status save tabs, downloads, VPN, ad blocker and so on as .json //! set change a setting, e.g. `set /privacy/https_only true` //! perm allow|block|default store a site's answer for a permission (kinds: store::permissions::Kind keys) //! prompt allow|deny [remember] answer the active tab's first permission prompt //! vault master | lock | unlock | remove_master | export | import the password vault //! bookmarks folder | export | import a folder on the bar; the Netscape HTML file (what the page's buttons do) //! flyout main, downloads, shield, vpn, media, siteinfo, profiles, apps, qr, tabmenu, back, //! bookmark (edit the current page's bookmark), none //! type put text in the address bar with its suggestions open //! fakeload |done hold the active tab that far into a load, or end it //! blur leave the address field (as Escape does) //! hover [pip]|none move the pointer over the window (points; `pip`: the picture-in-picture window), or away //! do a shortcut action by its settings key, e.g. `do new_tab` //! cmd [arg] back, forward, reload, bookmark, install_app, pip, exitpip, free_memory, //! update_lists, check_updates, close_tab, select , zoom , //! find , download , pause_download|resume_download|cancel_download [id] (newest), //! import (bookmarks, history, settings from the n-th found browser profile), //! install_script (a .user.js / .user.css), open_app [id] (default: the first installed app), //! navigate , mute, pin //! js