Does selenium support MultiThreading
We have the following scenario.
Start webDriver (PhantomJS in our case). Open the url and login.
Start a new Thread say Producer which will continuously check for any messages and put it in a sharedQ whenever message appears in the page.
Start another thread say Consumer which will check the sharedQ, picks up messages and process the same.
Both Producer & Consumer should run independently.
We tried writing a simple Prod-Cons program and found that it is NOT running with webdriver. Same program with normal java code gives the expected output.
And you provide any suggestion?
Thanks & Regards