Loading...
пʼятниця, 24 травня 2013 р.

Selenium + IE

1. Download file IEDriverServer.exe and put it somewhere (for example C:\Selenium\IEDriverServer.exe);
2. Add this path ( C:\Selenium ) to PATH system variable


3. Set all zones to one security level (enable or disable)
   IE->Tools -> Internet Options -> Security
3. Use this code to run IE:
System.setProperty("webdriver.ie.driver","C:\\Selenium\\IEDriverServer.exe");
WebDriver driver = new InternetExplorerDriver();

4. Does not work with local files :(

0 коментарі:

 
TOP