Have you compared the DOM between IE8 in compatibility mode and IE8 in
In compatibility mode it frigs about with the DOM in an attempt to emulate
earlier IE behaviour (but doesn't quite match it). I suspect that like Jim
said the element is in a different place in the DOM in compatibility mode.
[mailto:firstname.lastname@example.org] On Behalf Of saorabh singh
Sent: 10 April 2012 11:41
Subject: [selenium-users] Re: Selenium not able to find element in IE8 if
view mode is Compatibility view
Well here are the details:
i am using Selenium 2.20 Web driver,
Same scripts works fine on Some IE browsers(IE8), So when i investigated
I got the only difference between two Browsers is
Browsers where scripts are working fine is working on Normal IE8 mode
& other Browser where my scripts are getting failed is working on IE8
OpenUrl function works fine in IE8 Compatibility view, Problem Starts only
from Find element functionality.
I am trying to find element by ID
These modes can be checked by pressing f12 & look for Browser mode.
Please let me know if i am missing some info.
On Monday, 9 April 2012 19:16:07 UTC+5:30, Jim Evans wrote:
You haven't provided any context for your question. You haven't said what
API you're using (WebDriver or RC), you haven't said how you're trying to
find your elements, and you haven't said what you've tried to mitigate the
problem so far. I strongly suspect that the problem is related to
with that DOM, but without more information, it's impossible to say.
On Monday, April 9, 2012 1:36:10 AM UTC-4, saorabh singh wrote:
Any one has seen similar problem??
please provide me the solution for this problem...
I am not bale to run my tests on some Machine in IE8.
On Wednesday, 4 April 2012 18:08:56 UTC+5:30, saorabh singh wrote:
I am using Selenium version 2.20
Selenium not able to find element in IE if view mode is IE8 Compatibility
is there any solution??
You received this message because you are subscribed to the Google Groups
"Selenium Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/1JDyRePwnqUJ
To post to this group, send email to email@example.com
To unsubscribe from this group, send email to
For more options, visit this group at http://groups.google.com/group/selenium-users?hl=en