Added capture_screenshot and pagecapture.
merge