EasyEcom Interview Question

How do you handle dynamic elements in Selenium?