Getting cannot invoke Object.equals(Object) because this.driver is null | Selenium Forum
G
gautam Posted on 24/12/2020

Hi,

I am getting "Getting cannot invoke "Object.equals(Object)" because "this.driver" is null" error.

Please let me know what i am doing wrong. I have attached the code.


A
Ashish Thakur Replied on 26/12/2020

Can you plz share the stack trace of the exception?


G
gautam Replied on 28/12/2020

Hi Ashish,

I have attached the screen shot.

Regards,

Gautam


G
gautam Replied on 31/12/2020

Hi Ashish,

Please ave a look.

Thanks,

Gautam


A
Ashish Thakur Replied on 07/01/2021

You have not initialized the driver.

Please make sure that the openBrowser Function is being called


Related Posts