If you wanted to access the element that has the text "This element has an ID that changes every time the page is loaded" in it, then which of the following is used?
Options
- //div[contains(@id,'time_')]
- //div[contains(@id_time())]
- //div[parameter(@id_time())]
- //div[parameter(@id,’time_’)]
CORRECT ANSWER : //div[contains(@id,'time_')]
Write your comments