--disable-usb-keyboard-detect
What does --disable-usb-keyboard-detect do?
Disables the USB keyboard detection for blocking the OSK on Windows.
Usage
CLILaunch Chrome with --disable-usb-keyboard-detect using CLI
chrome --disable-usb-keyboard-detectPuppeteerLaunch Chrome with --disable-usb-keyboard-detect using Puppeteer
const browser = await puppeteer.launch({
args: ['--disable-usb-keyboard-detect']
});PlaywrightLaunch Chrome with --disable-usb-keyboard-detect using Playwright
const browser = await chromium.launch({
args: ['--disable-usb-keyboard-detect']
});SeleniumLaunch Chrome with --disable-usb-keyboard-detect using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--disable-usb-keyboard-detect')
driver = webdriver.Chrome(options=options)Build Conditions
WIN