selenium open inspect

Solutions on MaxInterview for selenium open inspect by the best coders in the world

showing results for - "selenium open inspect"
Linden
28 Mar 2018
1from selenium import webdriver
2
3options = webdriver.ChromeOptions() 
4options.add_argument("start-maximized")
5options.add_argument("--auto-open-devtools-for-tabs")
6options.add_experimental_option("excludeSwitches", ["enable-automation"])
7options.add_experimental_option('useAutomationExtension', False)
8driver = webdriver.Chrome(options=options, executable_path=r'C:\Utility\BrowserDrivers\chromedriver.exe')
9driver.get("https://selenium.dev/documentation/en/")
10print(driver.title)
11