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