--window-position
What does --window-position do?
Specify the initial window position: --window-position=x,y
Usage
CLILaunch Chrome with --window-position using CLI
chrome --window-positionPuppeteerLaunch Chrome with --window-position using Puppeteer
const browser = await puppeteer.launch({
args: ['--window-position']
});PlaywrightLaunch Chrome with --window-position using Playwright
const browser = await chromium.launch({
args: ['--window-position']
});SeleniumLaunch Chrome with --window-position using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--window-position')
driver = webdriver.Chrome(options=options)