Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <!--
- Looking for an xpath is not working properly when using IFrame. Save this file as xpath-test.html on a webserver and open it.
- Then try the following xpath: (//a[@class="testx"])[1]
- You wil get at least two results
- -->
- <body>
- <a class="testx" href="xpath-test.html">test</a>
- <a class="testx" href="xpath-test.html">test</a>
- <iframe src="xpath-test.html">
- </iframe>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement