--app-mode-oauth-token
What does --app-mode-oauth-token do?
Value of OAuth2 refresh token for --force-app-mode.
Usage
CLILaunch Chrome with --app-mode-oauth-token using CLI
chrome --app-mode-oauth-tokenPuppeteerLaunch Chrome with --app-mode-oauth-token using Puppeteer
const browser = await puppeteer.launch({
args: ['--app-mode-oauth-token']
});PlaywrightLaunch Chrome with --app-mode-oauth-token using Playwright
const browser = await chromium.launch({
args: ['--app-mode-oauth-token']
});SeleniumLaunch Chrome with --app-mode-oauth-token using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--app-mode-oauth-token')
driver = webdriver.Chrome(options=options)