--enable-spatial-navigation
What does --enable-spatial-navigation do?
Enable spatial navigation
Usage
CLILaunch Chrome with --enable-spatial-navigation using CLI
chrome --enable-spatial-navigationPuppeteerLaunch Chrome with --enable-spatial-navigation using Puppeteer
const browser = await puppeteer.launch({
args: ['--enable-spatial-navigation']
});PlaywrightLaunch Chrome with --enable-spatial-navigation using Playwright
const browser = await chromium.launch({
args: ['--enable-spatial-navigation']
});SeleniumLaunch Chrome with --enable-spatial-navigation using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--enable-spatial-navigation')
driver = webdriver.Chrome(options=options)