browser.element(how, what)
| How | What | What | What | What | What |
|---|---|---|---|---|---|
| String | Regular Expression | Hash | Integer | Page Element |
|
| :action | |
|
|
|
|
| :after? | |
|
|
|
|
| :alt | |
|
|
|
|
| :class | |
|
|
|
|
| :for | |
|
|
|
|
| :href | |
|
|
|
|
| :html | |
|
|
|
|
| :id | |
|
|
|
|
| :index | |
|
|
|
|
| :method | |
|
|
|
|
| :name | |
|
|
|
|
| :src | |
|
|
|
|
| :text | |
|
|
|
|
| :title | |
|
|
|
|
| :url | |
|
|
|
|
| :value | |
|
|
|
|
| :xpath | |
|
|
|
|
| Multiple Attributes | |
|
|
|
|