Ask a Question

Need to read whole data of a web page

jeetendra_mitta
Occasional Contributor

Need to read whole data of a web page

I am trying to read the while data of a webpage using object.innertext, but it is showing error. Please help me.
Jeetendra Mittal
1 REPLY 1
TanyaYatskovska
Community Manager

RE: Need to read whole data of a web page

Hi Jeetendra,

 


What error do you get? 


This code works for me:




Sys.Browser("chrome").Page("*").contentDocument.documentElement.innerText




 

---------
Tanya Yatskovskaya
SmartBear Community and Education Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
cancel
Showing results for 
Search instead for 
Did you mean: