how do you handle dynamic elements
When you refresh the page, if the attribute
value is changing to new value, it means
it is dynamic, which means YOU CANNOT USE IT.
HOW DO YOU HANDLE DYNAMIC WEB ELEMENTS?
-I use xpath methods to handle them
-There are 4 ways of handling.
#1- startsWith
#2- endsWith
#3- contains
#4- static parent to child or static child to parent