Re: Load page source with PHPUnit and Selenium

65 views
Skip to first unread message

David Lai

unread,
May 2, 2013, 1:17:21 PM5/2/13
to seleniu...@googlegroups.com
Another approach might be to just do a curl request using a curl wrapper in your programming language.  This will allow you to download the source straight to a string or file, and you can process it like any text stream.

On Thursday, May 2, 2013 2:05:06 AM UTC-7, Michael Kail wrote:
Hi everybody!

I want to get the page source of the page my test is currently on. The problem ist, that the page only consists of XML code.

Is there any way to get the raw page source? getHtmlSource() is not working as there is no html tag....

Thanks for your help!

Greetings Michael
Reply all
Reply to author
Forward
0 new messages