org.openqa.selenium
Class IllegalLocatorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.openqa.selenium.WebDriverException
org.openqa.selenium.IllegalLocatorException
- All Implemented Interfaces:
- Serializable
public class IllegalLocatorException
- extends WebDriverException
Thrown when a By cannot handle the arguments it is given. The most obvious case where this
excpetion would be thrown is when By.className() is used with a compound class name.
- See Also:
- Serialized Form
IllegalLocatorException
public IllegalLocatorException(String message)
IllegalLocatorException
public IllegalLocatorException(String message,
Throwable cause)
Copyright © 2012. All Rights Reserved.