📜  如何找到动态元素 - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:34.836000             🧑  作者: Mango

代码示例1
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