Simple javascript DSL for interaction with browser