Whatfix Interview Question

How do u access the elements using QuerySelector