How to quit WebDriver instance after executing all planned scenarios with Cucumber TestNG framework. | Selenium Forum
R
Ravibabu Kanaparthi Posted on 24/08/2021

Hi Ashish, 

Currently i am using Cucumeber +TestNg framwork for my web application automation. I planning to  run all scenarios in single browser insteance instead of opening and quitting browser in each scenario. All scenarios are running on signle browser insteance successfully but after completing test execution the browser is not getting quite by calling TestNG After Suite annotation and i am not getting any option how to quite browser after all scenarios execution. can you please adice me how to resolve this issue?

 

Regards,

Ravi