I Want To Know How to Minimize My Chrome Window in selenium
(我想知道如何最小化硒中的Chrome窗口)
I Don't Want How To Maximize Because I Know how to maximize chrome window!
(我不想最大化,因为我知道如何最大化镀铬窗口!)
Here is my code:
(这是我的代码:)
options = webdriver.ChromeOptions()
options.add_argument('--disable-extensions')
options.add_argument('--profile-directory=Default')
options.add_argument("--incognito")
options.add_argument("--disable-plugins-discovery");
options.add_argument("--start-maximized")
driver = webdriver.Chrome(options=options)
driver.get('website.com')
driver.delete_all_cookies()
ask by Usman Shahzad translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…