How to switch between 2 browsers in selenium webdriver with java
问题 I'm working on selenium webdriver with java. I want to open a browser perform some actions in it. Then open another browser and do the same actions in it, then go back to first browser and perform some actions. How can i switch between 2 browsers (not the switching between 2 tabs)? This is what i have done: @BeforeTest public void beforeTest() throws BiffException, IOException,InterruptedException { System.setProperty("webdriver.chrome.driver","D:\\MyProjects\\SeleniumTrials\\chromedriver