[Solved] Selenium error: doesn\’t work properly without JavaScript enabled

2023/05/17 18:08

Error

We’re sorry but hr-frontend-v2 doesn’t work properly without JavaScript enabled. Please enable it to continue.

Solution

from selenium.webdriver.chrome.options import Options

chrome_options = Options()
chrome_options.add_argument("--headless") 

driver = webdriver.Chrome(options=chrome_options)

...

You can try running Chrome WebDriver in headless mode. Headless mode can run the browser in the background without showing the browser window.

Leave a Reply

Back to top