Answer the question
In order to leave comments, you need to log in
Is there some kind of warning due to ChromeOptions?
Why is there an error? help me please)
chrome_options = webdriver.ChromeOptions()
chrome_options.add_argument('--disable-extensions')
executable_path = os.path.dirname(os.path.abspath(__file__)) + '\chromedriver.exe'
browser = webdriver.Chrome(executable_path=executable_path, chrome_options=chrome_options)
browser.get('http://2ip.ru')
DeprecationWarning: use options instead of chrome_options
browser = webdriver.Chrome(executable_path=executable_path, chrome_options=chr
ome_options)
Answer the question
In order to leave comments, you need to log in
The issue seems to be resolved (Well, the warning is gone, I don’t know if it’s right or not)
browser = webdriver.Chrome(options=chrome_options, executable_path=executable_path)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question