Skip to content

Commit f0bc0b5

Browse files
Update api_19_webview.md
1 parent 94657b4 commit f0bc0b5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/api_19_webview.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ webview.client.remote_eval js
4141
1. Load a webview. Exit the webview. From now on all webviews will have accessibility enabled.
4242

4343
```ruby
44-
first_textfield.type '[email protected]'
45-
last_textfield.type '[email protected]'
44+
textfield(1).type '[email protected]'
45+
textfield(2).type 'password'
4646
name('sign in').click
47+
48+
name("ok, i'll authorize it").click
4749
```

0 commit comments

Comments
 (0)