Talha9299/Rasa_chatBot
0
1from selenium import webdriver2from selenium.webdriver.chrome.service import Service3from selenium.webdriver.chrome.options import Options4 5def test():6 webdriver_path = "chromedriver.exe"7 options = Options()8 # Uncomment the following line if you want to run Chrome in headless mode9 # options.add_argument("--headless")10 options.add_experimental_option('debuggerAddress', 'localhost:9222')11 service = Service(webdriver_path)12 driver = webdriver.Chrome(service=service, options=options)13 14 15 driver.get("https://www.google.com/")16 17 print("Browser Connected")18 19test()20 