发现本地多个case类一起进行运行出现
Caused by: org.openqa.selenium.SessionNotCreatedException: A new session could not be created. Details: Problem getting session data for driver type AndroidDriver; does it implement 'get driverData'? (WARNING: The server did not provide any stacktrace information) 报错!
解决方案:
是将你的driver的变量改为static 然后直接赋值给相关类中的变量就行了!