js.executeScript("return document.title") works fine as expected but I'm not sure why my code returns null pointer error. what is wrong here? works
js.executeScript("return document.title") works fine as expected but I'm not sure why my code returns null pointer error. what is wrong here? works