Почему выходит ошибка? помогите пожалуйста)
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)