COMPOUND CLASS NAMES ARE NOT SUPPORTED WEBDRIVER DRIVER

Stack Overflow works best with JavaScript enabled. Email Required, but never shown. Please provide a valid input. Check your Spam folder or Promotions tab for an email from no-reply edureka. Your comment on this question:

Uploader: Balrajas
Date Added: 9 June 2014
File Size: 25.86 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 73788
Price: Free* [*Free Regsitration Required]

Would you like to answer one of these unanswered questions instead?

But class is same in every message window. Thats why this throws an error: By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies. I tried it more, in every time it gives the same error, the id is dynamic. Compound class names not permitted error Webdriver Ask Question. WebDriver is throwing the following error: This entry was posted in Watir and tagged classelement.

Reproducing the compound class error | Testing by Justin Ko

Atanas Kanchev 2 7 For now, Issue has been opened to track this bug. There is 1 response to this question on Selenium. Your comment on this answer: How to avoid Compound Class name error in Page Object?

Sign up using Facebook. Thank you for your interest in this question.

Can anyone please advise the way to find the element? Email me if a comment is added after mine Privacy: Sign up using Email and Password.

Now we need to get all the values of dropdown. Email required Address never made public.

=> represent ID

Narendra Jadhav 5, 11 18 Code tested on Ubuntu machine and supportec perfectly. It can also be done using class name like: You are commenting using your Twitter account.

As it turned out WerbDriver doesn’t support spaces in the class names, omg.

InvalidSelectorError It turns out that none of the new locator noh work when using element: Ronan Boiteau 5, 5 17 You can access the element if it has multiple classes using “By”: Array with multiple classes bad browser. The page source for the web element is as below. This is exactly what the exception message says.

You can either remove the space in your By. Something like this will namea according to the exception: Check your Spam folder or Promotions tab for an email from no-reply edureka.

Mukarram Pasha 82 2