'Is it possible to run selenium from <py-script> in html document

options = webdriver.ChromeOptions()
options.add_experimental_option("detach", True)
browser = webdriver.Chrome(ChromeDriverManager().install(), options=options)

I found out that after this line it doesn't run anymore (code works in .py file so I think I imported everything) Solutions?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source