selenium set chrome executable path

www.l‮tua‬turi.com
selenium set chrome executable path
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.chrome.options import Options

chrome_options = Options()
chrome_options.add_experimental_option('excludeSwitches', ['enable-logging'])
options.binary_location = '/path/to/chrome'
browser = webdriver.Chrome(executable_path='F:\chromedriver.exe',options=chrome_options)

browser.get(url)
Created Time:2017-10-08 20:40:45  Author:lautturi