1# Use Chrome in selenium
2# Run cmd type: python -m pip install webdriver-manager
3
4from selenium import webdriver
5from webdriver_manager.chrome import ChromeDriverManager
6browser = webdriver.Chrome(ChromeDriverManager().install())
7browser.get('https://www.legifrance.gouv.fr')
8searchElem = browser.find_element_by_css_selector('#query')
9searchElem.send_keys('jurisprudence')
10searchElem.submit()
11browser.back()