питаюсь установить плагин но возникает ошибка
ссылка на плагин:
https://antcpt.com/eng/download/google-chrome-opti...
options = webdriver.ChromeOptions()
options.add_argument("no-default-browser-check")
options.add_argument('--disable-blink-features=AutomationControlled')
options.add_argument("--start-maximized")
options.add_argument('window-size=200,800')
options.add_extension('plugin.zip')
self.driver = webdriver.Chrome(service=Service("chromedriver.exe"), chrome_options=options)
ошибка
Traceback (most recent call last):
File "C:\Users\dgana\OneDrive\Рабочий стол\main.py", line 9, in <module>
bot.start_driver()
File "C:\Users\dgana\OneDrive\Рабочий стол\riotgames.py", line 20, in start_driver
self.driver = webdriver.Chrome(service=Service("chromedriver.exe"), chrome_options=options)
File "C:\Users\dgana\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 70, in __init__
super(WebDriver, self).__init__(DesiredCapabilities.CHROME['browserName'], "goog",
File "C:\Users\dgana\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 93, in __init__
RemoteWebDriver.__init__(
File "C:\Users\dgana\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 268, in __init__
self.start_session(capabilities, browser_profile)
File "C:\Users\dgana\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 359, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "C:\Users\dgana\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 424, in execute
self.error_handler.check_response(response)
File "C:\Users\dgana\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 247, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedException: Message: session not created: cannot process extension #1
from unknown error: cannot read manifest
Stacktrace:
Backtrace:
Ordinal0 [0x00D29943+2595139]
Ordinal0 [0x00CBC9F1+2148849]
Ordinal0 [0x00BB4528+1066280]
Ordinal0 [0x00BD24B6+1189046]
Ordinal0 [0x00BD2ACE+1190606]
Ordinal0 [0x00BD1210+1184272]
Ordinal0 [0x00BCD6F1+1169137]
Ordinal0 [0x00C00530+1377584]
Ordinal0 [0x00C0018A+1376650]
Ordinal0 [0x00BFB806+1357830]
Ordinal0 [0x00BD6086+1204358]
Ordinal0 [0x00BD6F96+1208214]
GetHandleVerifier [0x00ECB232+1658114]
GetHandleVerifier [0x00F8312C+2411516]
GetHandleVerifier [0x00DBF261+560433]
GetHandleVerifier [0x00DBE366+556598]
Ordinal0 [0x00CC286B+2173035]
Ordinal0 [0x00CC75F8+2192888]
Ordinal0 [0x00CC76E5+2193125]
Ordinal0 [0x00CD11FC+2232828]
BaseThreadInitThunk [0x76A96739+25]
RtlGetFullPathName_UEx [0x77138E7F+1215]
RtlGetFullPathName_UEx [0x77138E4D+1165]
Process finished with exit code 1