Cannot find an element in webview using visible text

OS X Yosemite
appium 1.3.4
ios 8 sim

I basically want to verify that this string exists after failed login and am trying to use the webview since that seems to be what is suggested by people here.

Here is a snippet when I’m in the native context:

<AppiumAUT>
<UIAApplication name="myapp" label="myapp" value=""...>
<UIAWindow name="Main Window" label="Main Window" ...>
<UIAStaticText name="PLEASE ENTER A VALID EMAIL ADDRESS." label="PLEASE ENTER A VALID EMAIL ADDRESS." value="" ...></UIAStaticText>

and I can find the staticText elem doing:

dr.find_element_by_xpath("//*[@name='PLEASE ENTER A VALID EMAIL ADDRESS.']")

but after I switch to the webview, and see the following source (not sure which is actually showing in the native page source)

<html>
<head>
...
<div class="error">Please enter a valid email address.</div>
...
<div class="tip">Please enter a valid email address.</div>
...

I can find using class/tag locators

dr.find_element_by_class_name('error')
dr.find_element_by_tag_name('div')

but I try to find using the string “Please enter a valid email address.” (tried upper case too) but can’t. I’ve tried _by_name, _by_link_text, etc. and I can’t get anything to work.