Below given is a sample program to call selenium process again and again. please help me to learn how can i perform multiprocessing/multithreading (multitasking).
urls= [consider 10 urls]
def selenium(urls)
driver = webdriver.PhantomJS(desired_capabilities = dcap,service_args=['--ignore-ssl-errors=true', '--load-images=false'])
driver.get(url)
some_process()
for i in urls:
selenium(i)
Task here is to run all the given urls in one shot at same time with different background panthomjs browsers
Asynchronous processing of links.