--translate-script-url
What does --translate-script-url do?
Overrides the default server used for Google Translate.
Usage
CLILaunch Chrome with --translate-script-url using CLI
chrome --translate-script-urlPuppeteerLaunch Chrome with --translate-script-url using Puppeteer
const browser = await puppeteer.launch({
args: ['--translate-script-url']
});PlaywrightLaunch Chrome with --translate-script-url using Playwright
const browser = await chromium.launch({
args: ['--translate-script-url']
});SeleniumLaunch Chrome with --translate-script-url using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--translate-script-url')
driver = webdriver.Chrome(options=options)