I am using java+TestNG refering sample code of LambdaTest
Hey
Got you! Please try by removing the static keyword while defining the Remote WebDriver
from below
public static RemoteWebDriver driver = null;
or Simply replace this by public RemoteWebDriver driver = null;
This will run your all parallel tests successfully.
Happy Testing!