[Q&A]: How to control extension when there is no .crx file #2055
Unanswered
kieuhuyhoang
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone, I'm having the above problem as title:
options = uc.ChromeOptions()
format_port = '127.0.0.1:{}'.format(2024)
options.debugger_address = format_port
// options.add_extension("AutoAddSubtitleYoutubeV11")
options.add_argument(f"--load-extension=./AutoAddSubtitleYoutubeV11./index.html")
options.add_argument("--window-position=-2400,-2400")
options.add_argument("--lang=en")
driver = uc.Chrome(options=options, headless=True)
// extension_page = "chrome://extensions/?id=fkegijkehhikejnokbmeijeabkfoipge/index.html"
// test = driver.get(extension_page)
print(driver.find_elements(By.TAG_NAME, "h3"))
Thanks everyone ♥
Beta Was this translation helpful? Give feedback.
All reactions