Skip to content Skip to sidebar Skip to footer

Python Webdriver Multithread

I'm trying to spawn multiple webdriver instances with the code from: http://www.ibm.com/developerworks/aix/library/au-threadingpython/ import time import Queue import urllib2 impor

Solution 1:

You are not instantiating the Queue correctly. Instead of,

queue = Queue.Queue
out_queue = Queue.Queue

it should be

queue = Queue.Queue()
out_queue = Queue.Queue()

Solution 2:

You need to use Queue.Queue() instead of Queue.Queue

Post a Comment for "Python Webdriver Multithread"