Chrome Flags Reference

Chrome command line switches and startup flags for automation, headless mode, and debugging.

--orientation-sensors

What does --orientation-sensors do?

No description available for this flag.

Usage

CLILaunch Chrome with --orientation-sensors using CLI

chrome --orientation-sensors

PuppeteerLaunch Chrome with --orientation-sensors using Puppeteer

const browser = await puppeteer.launch({
  args: ['--orientation-sensors']
});

PlaywrightLaunch Chrome with --orientation-sensors using Playwright

const browser = await chromium.launch({
  args: ['--orientation-sensors']
});

SeleniumLaunch Chrome with --orientation-sensors using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--orientation-sensors')

driver = webdriver.Chrome(options=options)

Build Conditions

LOAD_WEBUI_FROM_DISK