Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java.lang.NullPointerException at org.openqa.selenium.support.pagefactory.findElement(DefaultElementLocator.java:69)

	public TopPanel(WebDriver driver) {
		this.driver = driver; //<< remove as this is already initialized and it is treated as duplicate
		PageFactory.initElements(driver, this);
	}
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
2+8 =