Please enter a valid emailid. Your name to display optional: Your email address will only be used for sending these notifications. Here is a Ruby answer if anyone needs it. Thats why this throws an error: This was the workaround given in the Link but still no success.

Uploader: Kazizilkree
Date Added: 17 February 2004
File Size: 19.43 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 24648
Price: Free* [*Free Regsitration Required]

By continuing to use this website, you agree to their use.

The page source for the web element is as below. 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.

Email me at this address if my answer is selected or commented on: Your aupported to display optional: Saved a lot of time for me!

errors when using class names locators. Getting compound classes are not supported | edureka! Forum

Abhijeet Vaikar 2 18 Mukarram Pasha 82 2 I will have to leave that as an investigation for another time. You are commenting using your Facebook account. Can you try this driver. As Selenium does not support compound classes, an exception will occur.


java – Compound class names are not supported error in WebDriver – Stack Overflow

It is not must for me to use ClassName Identifer. Hence it is not an effective method.

Xpath engines are different in each browser, hence it makes them inconsistent. This solution worked for me. Isaac 4, 3 21 Sign up using Email and Password.

The code I used, is like this. Thanks Jim, the page source is full with elements with spaces in the locators, I just want to kill the devs: Replacing the spaces with ‘. Asit Tripathy 9.

I tried it more, in every time it gives the same error, the id is dynamic. Post as a guest Name.

=> represent ID

Consider searching for one class name and filtering the results or use CSS selectors. Matyas 5 16 You can simply get rid of the issue by using Id, CSS, Xpath, regular expression or any other element finder method.


The locator is directly supported by Selenium — eg: Your email address will only be used for sending these notifications. Ronan Boiteau 5, 5 17 This should still find elements you’re looking for or you can find using CSS selectors.

Liam 16k 16 76 For now, Issue has been opened to track this bug. Compound class names not permitted error Webdriver Webdrlver Question. The UI view is: Fill in your details below or click an icon to log in: For example if your div is: