Selenium Python - Cross-Browser Testing
You wrote this code to run Chrome in headless mode but the browser window still appears. What is the likely mistake?
from selenium import webdriver
options = webdriver.ChromeOptions()
driver = webdriver.Chrome(options=options)
options.add_argument('--headless')
driver.get('https://example.com')