I'm facing an error:
java.lang.NullPointerException: Cannot invoke "org.openqa.selenium.WebDriver.findElement(org.openqa.selenium.By)" because "this.driver" is null
Code and Error screenshot:
Can I know why I am getting this error?
I am trying to execute the script whose result should be printed as true, but gettting error.