Get the DOM of any webpage by using headless Chrome.
This package requires a stable version of Google Chrome (v63 or higher).
If you want to install it on Ubuntu 16.04 you can do it like this:
sudo apt-get update
sudo apt-get install -y libappindicator1 fonts-liberation
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome*.deb