added wait_for_element to WebView