browser.tabs.reload();tabs.reload() / notebook
tabs.reload()
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.
browser.tabs.reload({ bypassCache: true });function onReloaded() {
console.log(`Reloaded`);
}
function onError(error) {
console.log(`Error: ${error}`);
}
let reloading = browser.tabs.reload(2, { bypassCache: true });
reloading.then(onReloaded, onError);