Resolver Interview Question

How to click using javaScriptExecutor