Open multiple firefox and switch from one browser to another using same driver

19 views
Skip to first unread message

Raj kr

unread,
Feb 22, 2018, 10:06:02 PM2/22/18
to Selenium Users
Hi

I have two questions:

1. I want to open up multiple instances of Firefox browser and switch from one browser to another and do some activity on the page.
2. Is it possible to drag and drop element from one iFrame into another iFrame., If possible then how.

Regards
Raj

Shawn McCarthy

unread,
Feb 22, 2018, 10:42:16 PM2/22/18
to Selenium Users
Raj,

1) There is nothing stopping you from opening multiple instances of a browser. Each would have their own driver object.
WebDriver driver1 = new FirefoxDriver();
WebDriver driver2 = new FirefoxDriver();

2) I don't know.
Reply all
Reply to author
Forward
0 new messages