Cognizant Interview Question

selenium snippets, syntax, java codes