use regexp instead of lindex to locate docstring
webdriver: log 'window url' calls
testobj: support setup_before and teardown_after