Share
Go down
omneeraj9
Posts : 2
Join date : 2012-02-21

Internet explorer driver redirect issue

on Thu Mar 01, 2012 6:34 pm
Hi,

I am using selenium 2 to automate my web application which runs mainly on internet explorer 8. The problem i'm facing is, i could not get the page source loaded into the web driver object in case of http redirection.

The following is the exception stack i could see

org.openqa.selenium.StaleElementReferenceException
: Element is no longer valid (WARNING: The server did not provide any stacktrace information); duration or timeout: 16 milliseconds
For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.html
Build info: version: '2.14.0', revision: '14955', time: '2011-11-29 11:43:45'
System info: os.name: 'Windows XP', os.arch: 'x86', os.version: '5.1 build 2600 Service Pack 3', java.version: '1.5.0'
Driver info: driver.version: RemoteWebDriver
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(
Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(
NativeConstructorAccessorImpl.java:67)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(
Constructor.java:522)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(
ErrorHandler.java:147)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(
ErrorHandler.java:113)
at org.openqa.selenium.remote.RemoteWebDriver.execute(
RemoteWebDriver.java:400)
at org.openqa.selenium.remote.RemoteWebElement.execute(
RemoteWebElement.java:231)
at org.openqa.selenium.remote.RemoteWebElement.getAttribute(
RemoteWebElement.java:116)
Back to top
Permissions in this forum:
You cannot reply to topics in this forum