Cognizant interview question

question from selenium, java, cucumber