org.openqa.selenium.json.JsonOutput.write(Ljava/lang/Object;Ljava/lang/reflect/Type;) due to JsonException: Attempting to close incomplete json stream
问题 I am getting the above Json exception after I updated my TestNG to 6.14.3 and Selenium to 3.13.0. I am using ChromeDriver() for my automation. Here's a brief idea about my code: @BeforeSuite: System.setProperty("webdriver.chrome.driver", "path to chrome driver"); @BeforeMethod: driver = new ChromeDriver(); @AfterMethod: driver.quit(); My previous Versions were 6.11.0 and 3.7.1 respectively for TestNG and Selenium. The exception is coming when the code tries to start a WebDriver session. The