Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

How to get an element by XPath in SHDOCVw InternetExplorer model using c#

$
0
0

Hi,

Though i was able to get elements in IE using InternetExplorer object and IHTMLElement , i don't see a method for getting the element by xPath. If it's not directly supported, can anyone let me know if there is way to get it from HTMLDocument or IHTMLElement using c#. I have below examples of xPath

//input[@id='email']

//form[@id='login_form']/table/tbody/tr[2]/td/input


//td/input

Thanks in advance.


Krrishna


Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>