I am new to webdriver and need some help.
I am using Selenium 2.2.0 with FF v7.0.1 on Windows XP
I was able to write and play a java script in IE, but whenever I try to execute the same script in FF, I get the following error message:
Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms
I read in several places that if I downgrade firefox to 3.6 script, it will work fine, but I will not aim to downgrade. Can someone please tell me what I am doing wrong?
package hisScripts; import java.util.concurrent.TimeUnit; import org.junit.*; import static org.junit.Assert.*; import org.openqa.selenium.*; import org.openqa.selenium.firefox.FirefoxDriver; public class WebdriverTest_1 { private WebDriver driver; private String baseUrl; private StringBuffer verificationErrors = new StringBuffer(); @Before public void setUp() throws Exception { driver = new FirefoxDriver();
}
user929258
source share