Home > OS >  Specific sites doesn't render using Selenium (python)
Specific sites doesn't render using Selenium (python)

Time:12-20

I've been using selenium with python on both Chrome and Firefox. This specific website stays blank on both browsers when I try to run it with selenium - I'd appreciate any help. Here's my code for chrome:

from selenium import webdriver
    options = webdriver.ChromeOptions()
    options.add_experimental_option("useAutomationExtension", False)
    options.add_experimental_option("excludeSwitches",["enable-automation"])
    
    path = r'C:\Program Files (x86)\chromedriver.exe'
    driver = webdriver.Chrome(executable_path=path, chrome_options=options)
    
    driver.get('https://main.knesset.gov.il/Activity/committees/pages/allcommitteesagenda.aspx')

CodePudding user response:

Add the argument main_knesset_gov_il


References

You can find a couple of relevant detailed discussion in:

  • Related