
# https://www.globalsino.com/ICs/page4853.html
# Auto-search on YouTube.

import webbrowser
import pyautogui as pg
import time

webbrowser.open('www.youtube.com')
time.sleep(7)

Search_bar = pg.locateOnScreen(r"C:\GlobalSino\ICs\images\4680y.PNG")
pg.click(Search_bar)

pg.typewrite('Integraed Circuits')
time.sleep(3)

Search_Button = pg.locateCenterOnScreen(r"C:\GlobalSino\ICs\images\4680z.PNG")
pg.click(Search_Button)


