Chrome Flags Reference

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

--enable-caret-browsing

What does --enable-caret-browsing do?

Enable native caret browsing, in which a moveable cursor is placed on a web page, allowing a user to select and navigate through non-editable text using just a keyboard. See https://crbug.com/977390 for links to i2i.

Usage

CLILaunch Chrome with --enable-caret-browsing using CLI

chrome --enable-caret-browsing

PuppeteerLaunch Chrome with --enable-caret-browsing using Puppeteer

const browser = await puppeteer.launch({
  args: ['--enable-caret-browsing']
});

PlaywrightLaunch Chrome with --enable-caret-browsing using Playwright

const browser = await chromium.launch({
  args: ['--enable-caret-browsing']
});

SeleniumLaunch Chrome with --enable-caret-browsing using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--enable-caret-browsing')

driver = webdriver.Chrome(options=options)