Zagavarr Zagavarr - 4 years ago 324
HTML Question

Get Xpath of an iframe element that has a 'src' attribute containing a certain substring using contains()

In HTML document I have

, which has a
attribute, containing a certain substring "":

<iframe style="width: 100%; height: 100%;" src="" frameborder="0"></iframe>

What would be the correct Xpath expression for that

How do I use the

Answer Source

How do I use contains() function?

If you want to select an iframe that contains the string "" in the src attribute, use:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download