Display results as :

Rechercher Advanced Search


Failing to identify element using Selenium WebDriver

View previous topic View next topic Go down

Failing to identify element using Selenium WebDriver

Post by qappbc on Wed Mar 07, 2012 3:13 am

The element in question is "//*[@class=' x-btn-text administration']" ,
where a space has been added in front of the identifier string literal text.

The element is an object created by EXT JS by Sencha. I was able to do a workaround for FireFox
4.0 using this "//*[contains(@class,'x-btn-text administration']";, but IE9 fails to find the element with
this error: "cannot be evaluated or does not result in a WebElement".

Does InternetExplorerDriver not support the use of 'contains' method? Is there a way to find the
element for both browsers? Currently I am using selenium-server-standalone-2.16.1.jar


Posts : 38
Join date : 2011-10-13

Back to top Go down

Re: Failing to identify element using Selenium WebDriver

Post by ashish_techie on Mon May 14, 2012 11:35 pm

Use the latest version of selenium and try. It will help

For selenium videos refer:


Posts : 73
Join date : 2011-08-09

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum