- From: James Graham <james@hoppipolla.co.uk>
- Date: Tue, 21 Apr 2015 09:56:07 +0100
- To: public-browser-tools-testing@w3.org
On 21/04/15 06:19, Alexei Barantsev wrote:
> A note: implementing getPageSource is not as trivial as
> driver.execute_script('return document.documentElement.outerHTML') if we
> want to keep backward compatibility and allow getting page source of XML
> and SVG documents.
This works fine, at least in browsers that conform to the spec [1]
[1] http://software.hixie.ch/utilities/js/live-dom-viewer/saved/3505
Received on Tuesday, 21 April 2015 08:56:32 UTC