[document] Pass the capybara document as root node.