--clear-key-cdm-path-for-testing
What does --clear-key-cdm-path-for-testing do?
Specifies the path to the Clear Key CDM for testing, which is necessary to support External Clear Key key system when library CDM is enabled. Note that External Clear Key key system support is also controlled by feature kExternalClearKeyForTesting.
Usage
CLILaunch Chrome with --clear-key-cdm-path-for-testing using CLI
chrome --clear-key-cdm-path-for-testingPuppeteerLaunch Chrome with --clear-key-cdm-path-for-testing using Puppeteer
const browser = await puppeteer.launch({
args: ['--clear-key-cdm-path-for-testing']
});PlaywrightLaunch Chrome with --clear-key-cdm-path-for-testing using Playwright
const browser = await chromium.launch({
args: ['--clear-key-cdm-path-for-testing']
});SeleniumLaunch Chrome with --clear-key-cdm-path-for-testing using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--clear-key-cdm-path-for-testing')
driver = webdriver.Chrome(options=options)