b

 from selenium import webdriver

from selenium.webdriver.chrome.service import Service

from selenium.webdriver.chrome.options import Options

import time


chrome_driver_path = r"path_to_chromedriver"

chrome_options = Options()

chrome_options.add_argument("--disable-extensions")

chrome_options.add_argument("--no-sandbox")

chrome_options.add_argument("--disable-gpu")

chrome_options.add_argument("--remote-debugging-port=9222")

chrome_options.add_argument("--user-data-dir=C:\\temp\\chrome_profile")


service = Service(chrome_driver_path)

driver = webdriver.Chrome(service=service, options=chrome_options)


driver.get("https://flowerbazaaar.com/")

time.sleep(5)

driver.quit()


Reactions

Post a Comment

0 Comments