You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Set IE 10 to open all pages in compatibility mode on
2. run java code below
public void testLocalPageVerticalEdge(){
DesiredCapabilities caps = new DesiredCapabilities();
caps.setCapability(InternetExplorerDriver.INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS, true);
InternetExplorerDriver idriver = new InternetExplorerDriver(caps);
// FirefoxDriver idriver = new FirefoxDriver();
idriver.get("file:///D:/Documents/Care2U/DM2.html");
LayoutBugDetector detector = new DetectTextNearOrOverlappingVerticalEdge();
detector.setScreenshotDir(new File("target"));
WebPage webPage = new WebPage(idriver);
Collection<LayoutBug> layoutBugs = detector.findLayoutBugsIn(webPage);
for (LayoutBug bug : layoutBugs){
System.out.println("HTML: " + bug.getDescription() + bug.getScreenshot());
}
idriver.quit();
}
What is the expected output? What do you see instead?
Started InternetExplorerDriver server (64-bit)
2.26.3.0
Listening on port 44526
FAILED: testLocalPageVerticalEdge
org.openqa.selenium.NoSuchWindowException: Unable to get browser (WARNING: The
server did not provide any stacktrace information)
Command duration or timeout: 32 milliseconds
Build info: version: '2.43.0', revision:
'accb3003b9fb8f7cae30f9669b4c594a065396a6', time: '2014-09-09 22:22:51'
System info: host: , os.name: 'Windows 8', os.arch: 'amd64', os.version: '6.2',
java.version: '1.7.0_67'
Session ID: 9c1ba1fb-e05b-4afd-9806-f631ca57c39f
Driver info: org.openqa.selenium.ie.InternetExplorerDriver
Capabilities [{platform=WINDOWS, cssSelectorsEnabled=true,
javascriptEnabled=true, browserName=internet explorer, handlesAlerts=true,
nativeEvents=true, takesScreenshot=true, version=10}]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:204)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:156)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:599)
at org.openqa.selenium.remote.RemoteWebDriver.executeScript(RemoteWebDriver.java:508)
at com.googlecode.fightinglayoutbugs.WebPage.executeJavaScript(WebPage.java:339)
at com.googlecode.fightinglayoutbugs.WebPage.injectJQueryIfNotPresent(WebPage.java:83)
at com.googlecode.fightinglayoutbugs.WebPage.<init>(WebPage.java:76)
at eu.isdc.stage.tests.selenium.tests.q1.LayoutBugs.testLocalPageVerticalEdge(LayoutBugs.java:36)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
What version of the product are you using? On what operating system?
Windows 8, IE 10, Java 1.7.
Please provide any additional information below.
Original issue reported on code.google.com by contan.andrei on 30 Oct 2014 at 1:41
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
contan.andrei
on 30 Oct 2014 at 1:41The text was updated successfully, but these errors were encountered: