Skip to content

gwiggen1/SeleniumSearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

SeleniumSearch

Fast Google Search W Selenium

Requirements:

Chromedriver

pip install Selenium

Detaching the Chromedriver from Python(This makes Chrome stay open after the program runs):

#Required import for following code
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from selenium.webdriver.common.by import By

#Unlocks the browser from code
chrome_options = Options()
chrome_options.add_experimental_option("detach", True)

wbrowser = webdriver.Chrome(chrome_options=chrome_options)

Input:

You will have to input your search in the command line:

Selenium