Selenium Threads: How to open the same browser in multiple threads? for the purposes of each browser using a unique proxy
问题 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