Experimental project

This is a sandbox project, which contains experimental code for developer use only.

This is a response to http://groups.drupal.org/node/298298 where Twig testing is needed.

As we have Drush why not add a DOM tree fetcher to the toolkit?

So here it is

drush @drupal.d8 --user=admin dom-get admin --file=/tmp/admin.d8.xml

Script

By running the script with just 1 argument you can grab any page as user admin on 'branch' 8.x

Later on you may diff the files

diff \
  --width=200 \
  --suppress-common-lines
  --side-by-side \
  $FILE_1
  $FILE_2

or use your local visual diff tool like on Mac OSX

opendiff $FILE_1 $FILE_2

Project information