Skip to content

Commit 0b1642c

Browse files
committed
Ensure that the IEDriverServer is actually built.
This means that there's no need to complete a build before starting to try and run the IE tests.
1 parent 56d093e commit 0b1642c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

java/client/test/org/openqa/selenium/testing/drivers/LocallyBuiltInternetExplorerDriver.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,23 @@
1717

1818
package org.openqa.selenium.testing.drivers;
1919

20-
import java.io.File;
21-
20+
import org.openqa.selenium.Build;
2221
import org.openqa.selenium.Capabilities;
2322
import org.openqa.selenium.ie.InternetExplorerDriver;
2423
import org.openqa.selenium.ie.InternetExplorerDriverLogLevel;
2524
import org.openqa.selenium.ie.InternetExplorerDriverService;
2625
import org.openqa.selenium.testing.InProject;
2726

27+
import java.io.File;
28+
2829
public class LocallyBuiltInternetExplorerDriver extends InternetExplorerDriver {
2930
public LocallyBuiltInternetExplorerDriver(Capabilities capabilities) {
3031
super(getService(), capabilities);
3132
}
3233

3334
private static InternetExplorerDriverService getService() {
35+
new Build().of("//cpp/iedriverserver:win32").go();
36+
3437
InternetExplorerDriverService.Builder builder =
3538
new InternetExplorerDriverService.Builder()
3639
.usingDriverExecutable(

0 commit comments

Comments
 (0)