File size: 265 Bytes
a746d34
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
# Chrome Driver setup
from selenium import webdriver

def setup_chrome_driver():
    """
    Set up Chrome Driver
    """
    options = webdriver.ChromeOptions()
    options.add_argument('--headless')
    driver = webdriver.Chrome(options=options)
    return driver