Answer the question
In order to leave comments, you need to log in
Selenium, unable to hide window, what should I do?
I use Opera, I can't hide the window. When I set the desired parameter, a white window opens, but the script works.
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
options = Options()
options.add_argument("--log-level=3")
options.headless = True
web = webdriver.Chrome(executable_path=r'D:\Users\Я\Desktop\Projects\drivers\operadriver.exe', chrome_options=options)
Answer the question
In order to leave comments, you need to log in
Opera does not support headless mode
https://github.com/operasoftware/operachromiumdriv...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question