Capture a screenshot from the target browser