View difference between Paste ID: W5qcZeMf and DpC4s74e
SHOW: | | - or go back to the newest paste.
1-
	if (browse.equals("IE")) {
1+
			If I use this line my test works fine:
2-
			System.out.println(browse);
2+
3-
			
3+
4
					DesiredCapabilities.firefox());
5
		
6
7
			If I use this line I get the error below:
8-
		}
8+
9-
		if (browse.equals("FF")) {
9+
10
					DesiredCapabilities.internetExplorer());
11
12
13
14-
		}
14+
org.openqa.selenium.WebDriverException: Error forwarding the new session cannot find : {platform=WINDOWS, ensureCleanSession=true, browserName=internet explorer, version=}; duration or timeout: 294 milliseconds
15-
15+
Build info: version: '2.14.0', revision: 'unknown', time: '2011-11-29 13:13:16'
16
System info: os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0'