# ActionDetails_Str

VALUE:
[%Main_Import]

browser = webdriver.Chrome(executable_path=r'C:\Selenium\chromedriver.exe')

[%Main_Code]

# Remember to manually close the webdriver process via the task manager - or include a ".close()" or ".quit()" call.


VALUE:
[%Main_Import]
from selenium.webdriver.chrome.options import Options

chrome_options = Options()
chrome_options.add_experimental_option("debuggerAddress", "127.0.0.1:8080")
chrome_driver = r'C:\Selenium\chromedriver.exe'

browser = webdriver.Chrome


# Actions

NOTES:
Open a new instance of Google Chrome and execute the code


NOTES:
Connect to the opened window of Google Chrome and execute the code


# Variables_Str

VALUE:
browser.get('https://www.google.com/')

wait = WebDriverWait(browser, 10)
wait.until(EC.presence_of_element_located((By.CSS_SELECTOR, '#tsf > div:nth-child(2) > div > div.RNNXgb > div > div.a4bIc > input')))

browser.find_element_by_css_selector('#ts


VALUE:
f > div:nth-child(2) > div > div.RNNXgb > div > div.a4bIc > input').send_keys('How to Python Foxtrot' + Keys.TAB)
browser.find_element_by_css_selector('#tsf > div:nth-child(2) > div > div.FPdoLc.VlcLAe > center > input[type="submit"]:nth-child(1)').click


VALUE:
()

wait.until(EC.presence_of_element_located((By.ID, 'resultStats')))

result_stats = browser.find_element_by_id('resultStats').text
print(result_stats)


VALUE:
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC


