HSBC interview question

Selenium automation Java coding Logics