PHP COM Component. How to use it to get the generated HTML by the Browser? -


I need to parse the webpage that is generated by javascript. I'm checking PHP COM component and I think what I need to get the HTML generated by this browser

My problem is how can I not use the HTML generated by the browser

  & lt ;? Php $ browser = new COM ("InternetExplorer.Application"); $ Browser- & gt; Navigate ("http://www.yahoo.com"); $ Browser-> visible = true; $ Browser- & gt; Width = 700; $ Browser- & gt; Height = 380; ? & Gt;   

I am able to open this browser. Now ... how can I go to the link and save the HTML generated by the browser?

Can anyone give me a clue on this?

Best regards,

I think the $ browser- & Gt; The document will contain the page in ; Comment @Andrew left

Note that it looks like you can see the manual for the applicable object for questions like this.

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -