Robust web browser test automation framework