--default-country-code
What does --default-country-code do?
Default country code to be used for search engine localization.
Usage
CLILaunch Chrome with --default-country-code using CLI
chrome --default-country-codePuppeteerLaunch Chrome with --default-country-code using Puppeteer
const browser = await puppeteer.launch({
args: ['--default-country-code']
});PlaywrightLaunch Chrome with --default-country-code using Playwright
const browser = await chromium.launch({
args: ['--default-country-code']
});SeleniumLaunch Chrome with --default-country-code using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--default-country-code')
driver = webdriver.Chrome(options=options)Build Conditions
ANDROID