import threading
def rand_function1():
#random actions
def rand_function2():
#random actions
def main()
rand_function1
rand_function2
return
if __name__ == '__main__':
url_list = "https://www.rand_urls.com/"
driver = webdriver.Firefox()
for t in range(10):
t = threading.Thread(target=main)
t.start()
I have this simple program that I am trying to open urls using 10 Firefox web drivers. However, all it does it use one browser and continue to cycle though urls thought that individual browser. I will be using a unique proxies for each browser so opening tabs wont be an option.
How do I get n
threads to run the main function individually using its own Firefox web driver?