from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from multiprocessing import Pool
lst = ['https://yandex.ru/', 'https://www.google.com/']
def selen(data):
chrome_options = Options()
chrome_options.add_argument("--disable-gpu")
chrome_options.add_argument("--window-size=1024x768")
# chrome_options.add_argument("user-data-dir=C:\\Users\\Администратор\\AppData\\Local\\Google\\Chrome\\User Data")
driver = webdriver.Chrome('D:\chromedriver.exe',chrome_options=chrome_options)
driver.get(data)
if __name__ == '__main__':
p = Pool(2)
print(p.map(selen, lst))