I am using selenium chrome webdriver with python. I have this python code and I want to convert it into an executable program. I also have to use this external file of chrome web-driver. How can I do this?
from selenium import webdriver
def function():
global driver
driver = webdriver.Chrome(executable_path=r"C:\Users\Administrator\Desktop\AWS\chromedriver_win32\chromedriver" )
driver.get('https://www.google.com')
driver.close()
function()