browserSettings.homepageOverride
A BrowserSetting
object that can be used to get a string representing the URL currently set as the browser's homepage.
Note that this is a read-only setting. To change the homepage, see chrome_settings_overrides.
Browser compatibility
BCD tables only load in the browser
The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Examples
Get the current value of the homepage URL:
browser.browserSettings.homepageOverride.get({}).then(result => {
console.log(result.value);
});