I am using opera driver with opera version 12.11.The code I use for starting the opera is :
if(UrlGenerator.BROWSER_NAME.equalsIgnoreCase("opera")){
DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability("opera.log.level", "CONFIG");
capabilities.setCapability("opera.port", -1);
capabilities.setCapability("opera.profile", "");
driver = new OperaDriver(capabilities);
}
It opens the the opera browser and my test runs fine.But when I open a new window by clicking some link or by using some other way It opens the window in same page so switching to window fails. Can somebody suggests me some workaround for this?