I am able to run multiple chrome windows using selenium and python but the windows run one after another,One window complete its tasks and then move to the next window, But I want it to run parallel like multiple windows should open at same time and all clicks should be performed in a parallel way, let say steps are to open Facebook, Login, Like Posts these three steps should be done in all chrome windows at the same time if 30 windows are open then 30 windows should ope facebook at same time and perform action.
Here is my code that I am using to run one chrome window:
browser=webdriver.Chrome('C:/chromedriver.exe')
browser.get("facebook.com")
input = browser.find_element_by_xpath('//input[@type="email"]')
time.sleep(1)
input.click()
Please let me know what can I use in python to perform tasks in a parallel way