Chrome Flags Reference

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

--wayland-text-input-version

What does --wayland-text-input-version do?

Specify wayland text-input protocol version. Defaults to "1" for text-input-v1. Can specify value "3" for experimental text-input-v3 support.

Usage

CLILaunch Chrome with --wayland-text-input-version using CLI

chrome --wayland-text-input-version

PuppeteerLaunch Chrome with --wayland-text-input-version using Puppeteer

const browser = await puppeteer.launch({
  args: ['--wayland-text-input-version']
});

PlaywrightLaunch Chrome with --wayland-text-input-version using Playwright

const browser = await chromium.launch({
  args: ['--wayland-text-input-version']
});

SeleniumLaunch Chrome with --wayland-text-input-version using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--wayland-text-input-version')

driver = webdriver.Chrome(options=options)