If you have a Compound class and you want to do something like this:
IWebElement elem = Browser.Driver.FindElement(By.ClassName("name1 name2 name 3"));
you will get an error like:
"Compound class names are not supported. Consider searching for one class name and filtering the results."
The solution:
Use CssSelector, and put "." in front of each name, like this:
IWebElement elem = Browser.Driver.FindElement(By.CssSelector(".name1.name2.name 3"));
Saturday, December 8, 2012
Remove utorrent toolbar from Chrome
If you have this annoying problem here is how to fix it:
1. Go to C:\Users\[Username]\AppData\Local\ and remove CRE and Conduit directories.
2. Start -> regedit -> search for '\AppData\Local\CRE' and remove any related Extensions.
1. Go to C:\Users\[Username]\AppData\Local\ and remove CRE and Conduit directories.
2. Start -> regedit -> search for '\AppData\Local\CRE' and remove any related Extensions.
Subscribe to:
Posts (Atom)