From f0bc0b5229dc21f736ab17c533e1d073c3b44a3c Mon Sep 17 00:00:00 2001 From: bootstraponline Date: Wed, 22 Jan 2014 14:18:53 -0500 Subject: [PATCH] Update api_19_webview.md --- docs/api_19_webview.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/api_19_webview.md b/docs/api_19_webview.md index 9b1b2493..0aacb23e 100644 --- a/docs/api_19_webview.md +++ b/docs/api_19_webview.md @@ -41,7 +41,9 @@ webview.client.remote_eval js 1. Load a webview. Exit the webview. From now on all webviews will have accessibility enabled. ```ruby -first_textfield.type 'example@example.com' -last_textfield.type 'example@example.com' +textfield(1).type 'example@example.com' +textfield(2).type 'password' name('sign in').click + +name("ok, i'll authorize it").click ```