How to enable the extension from chrome during Selenium?

Use selenium when parsing. Understand how to connect it to the extension - now the browser goes to the page with the extension.
Only to sense from it a little to enable the extension, it is necessary to accept the terms of use. How?! To me it all breaks!
Thank you all in advance
April 3rd 20 at 17:42
1 answer
April 3rd 20 at 17:44
Solution
I came out of the situation by adding my profile

options = webdriver.ChromeOptions()
options.add_argument('headless')
 options.add_argument('user-data-dir=C:\\Users\\Name_Profile\\AppData\\Local\\Google\\Chrome\\User Data')
 browser = webdriver.Chrome(executable_path=path_to_driver, options=options)
 browser.get(url)

Find more questions by tags PythonParsingSelenium