Whatfix interview question

How do u access the elements using QuerySelector