I am facing a **driver is null** exception when performing parallel testing using Selenium Grid on the LambdaTest servers. My username and access keys are correctly set, but I am unable to connect to the servers.
I downloaded the sample project from GitHub, replaced the username and access key, and ran the tests using IntelliJ IDEA. I was able to run the tests successfully. However, when I run the tests using my own configuration, I am unable to connect to the servers and receive the driver is null exception.
My project configuration is as follows:
Eclipse
Java 18
Selenium 4
TestNG 7
Maven
Running the tests using the testng.xml file
Capabilities:
Browsers
Firefox,Chrome,Edge,Internet Explorer
Platforms
Windows 7,Windows 10,Mac os Sierra
LambdaTest Demo sample
Please provide a solution to this issue. Thank you.