Pilot Project : Seeing NPE while doing any driver call in SakraWorld Class | Selenium Forum
R
Rahil Posted on 10/07/2023

Seeing NPE as driver is null in this class. I am not able to click on dr. name or not able to also find page title as driver is null. Following the video but not seeing similar issue in video.

I have attached SS of NPE, baseTest and project Structure. I am doing in Intellij +GRadle
Able to launch browser but  not able to perform driver actions in SakRAWorld Class


M
mdsapon Replied on 14/11/2023

your driver was not initialized properly, can you share launchBrowser code?