Skip to content

Instantly share code, notes, and snippets.

@illicitonion
Created July 29, 2011 13:39
Show Gist options
  • Save illicitonion/1113816 to your computer and use it in GitHub Desktop.
Save illicitonion/1113816 to your computer and use it in GitHub Desktop.
Testcase: testShouldAllowUsersToAcceptAnAlertManually took 0.115 sec
Caused an ERROR
a.document.getElementsByTagName("dialog")[0] is undefined
Build info: version: '2.2.0', revision: '13043', time: '2011-07-22 13:00:46'
System info: os.name: 'Linux', os.arch: 'i386', os.version: '2.6.32-gg508-generic', java.version: '1.6.0-google-v4'
Driver info: driver.version: RemoteWebDriver
org.openqa.selenium.WebDriverException: a.document.getElementsByTagName("dialog")[0] is undefined
Build info: version: '2.2.0', revision: '13043', time: '2011-07-22 13:00:46'
System info: os.name: 'Linux', os.arch: 'i386', os.version: '2.6.32-gg508-generic', java.version: '1.6.0-google-v4'
Driver info: driver.version: RemoteWebDriver
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:131)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:105)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:405)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:409)
at org.openqa.selenium.remote.RemoteWebDriver$RemoteAlert.accept(RemoteWebDriver.java:615)
at org.openqa.selenium.AlertsTest.testShouldAllowUsersToAcceptAnAlertManually(AlertsTest.java:64)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.extensions.TestSetup.run(TestSetup.java:27)
Caused by: org.openqa.selenium.remote.ErrorHandler$UnknownServerException: a.document.getElementsByTagName("dialog")[0] is undefined
Build info: version: '2.2.0', revision: '13043', time: '2011-07-22 13:00:46'
System info: os.name: 'Linux', os.arch: 'i386', os.version: '2.6.32-gg508-generic', java.version: '1.6.0-google-v4'
Driver info: driver.version: unknown
at <anonymous class>.<anonymous method>(file:///tmp/anonymous1592517026652068726webdriver-profile/extensions/[email protected]/resource/modules/utils.js:8504)
at <anonymous class>.<anonymous method>(file:///tmp/anonymous1592517026652068726webdriver-profile/extensions/[email protected]/resource/modules/utils.js:8514)
at <anonymous class>.<anonymous method>(file:///tmp/anonymous1592517026652068726webdriver-profile/extensions/[email protected]/resource/modules/utils.js:8482)
at <anonymous class>.<anonymous method>(file:///tmp/anonymous1592517026652068726webdriver-profile/extensions/[email protected]/resource/modules/utils.js:8484)
at <anonymous class>.<anonymous method>(file:///tmp/anonymous1592517026652068726webdriver-profile/extensions/[email protected]/resource/modules/utils.js:8501)
at <anonymous class>.<anonymous method>(file:///tmp/anonymous1592517026652068726webdriver-profile/extensions/[email protected]/resource/modules/utils.js:8517)
at <anonymous class>.<anonymous method>(file:///tmp/anonymous1592517026652068726webdriver-profile/extensions/[email protected]/components/driver-component.js -> file:///tmp/anonymous1592517026652068726webdriver-profile/extensions/[email protected]/components/firefoxDriver.js:819)
at <anonymous class>.<anonymous method>(file:///tmp/anonymous1592517026652068726webdriver-profile/extensions/[email protected]/resource/modules/utils.js:266)
at <anonymous class>.<anonymous method>(file:///tmp/anonymous1592517026652068726webdriver-profile/extensions/[email protected]/components/nsCommandProcessor.js:306)
at <anonymous class>.<anonymous method>(file:///tmp/anonymous1592517026652068726webdriver-profile/extensions/[email protected]/components/nsCommandProcessor.js:320)
at <anonymous class>.<anonymous method>(file:///tmp/anonymous1592517026652068726webdriver-profile/extensions/[email protected]/components/nsCommandProcessor.js:197)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment