Infosys interview question

JavaScript code to click on element. framework details, explicit waits,