Home Questions Tags Users Unanswered. When the what is one of the new types, Array or Boolean , the else branch is triggered. As it turned out WerbDriver doesn’t support spaces in the class names, omg. It can also be done using class name like: Sign up using Facebook. Thank you for your interest in this question. Seems like WerbDriver doesn’t support spaces in class names.
|Date Added:||25 October 2017|
|File Size:||50.99 Mb|
|Operating Systems:||Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X|
|Price:||Free* [*Free Regsitration Required]|
The code I used, is like this. By continuing to use this website, you agree to their use. For documentation on this error, please visit: The question is, where is this exception coming from?
=> represent ID
Unable to locate element: I am getting the following error: Table of Content 1 Introduction 2 Use Cases 2. InvalidSelectorError It turns out that none of the new locator strategies work when using element: You can use driver. Seems like WerbDriver doesn’t support spaces in class names. It is not must for me to use ClassName Identifer. Sign up to get answers to your questions via experts on Edureka Community.
This blog talks about handling compound classes in Selenium Webdriver using css selector.
Email Required, but never shown. Most of the time class name attribute of supportec element has groups of classes names. Its a bit faster than xpath.
If your class name includes a space, WebDriver will see it as a “compound selector”. The issue is because of the way find by Class name works.
Email me at this address if my answer is selected or commented on: Thank you for your valuable comment. What could be the reason that driver. ECiurleo 1, 1 8 This solution worked for me. This entry was posted in Watir and tagged classelement.
Ragunath Chilkuru 2 2 Matyas 5 16 Email Required, but never shown. This should still find elements you’re looking for or you can find using CSS selectors. Array with multiple classes bad browser.
Compound class names not permitted error Webdriver – Stack Overflow
The thing what I wanted to do was, write java code for automate the sending an email via gmail. Asit Tripathy 9. Solution Using a simple page: Ronan Boiteau 5, supprted 17 While trying to access web element where-in the element’s class name have spaces in between.
First – “Caused by: