Browser automation framework, with remote/hostname support