Feb-16-2019, 01:39 PM
The way you have it coded in your first post you are creating separate processes for every time you hit a button. So for example you keep hitting yahoo and it creates an entire different browser every time. You are going to want to unite them. The best way to do that is a class. This
driver = webdriver.Chrome(executable_path=r'chromedriver.exe')
being in every function creates a new driver process every time.
Recommended Tutorials: