extract method 'with_open_page'
Broke down success/failure handling