Add ability to capture specific DOM elements

Fixes #100.