javascript - Running multiple instances of selenium webdriver asynchronously (firefox) -
how can make webdriver request multiple pages (or open multiple browsers) @ same time, concurrently?
all solutions found on internet waits until previous session has finished loading , open new instance of browser.
i have tried selenium-webdriver, webdriverjs , wdjs, , none of them seem able multiple http requests different pages asynchronously. solutions https://github.com/onioni/wd-parallel-async wont work. open 1 @ time.
am missing something?
ps: don't want run multiple browsers concurrently! want run multiple instances of same browser.
something like:
webdriver driver1 = new firefoxdriver(); webdriver driver2 = new firefoxdriver(); webdriver driver3 = new firefoxdriver(); driver1.get("page1"); driver2.get("page2"); driver3.get("page3");
if need asynchronous, need java threading ... make longer discussion , off-topic so.
Comments
Post a Comment