Focusses a form field, i.e. makes it the active one. This is comparable to clicking the field.
Parameters
Browser
The browser to work with.
Selecting "frontmost browser" will only work if the application currently in the foreground is a supported browser.
Only available if Target tab isn’t set to "specific tab".
Type: Browser
Target tab
Specify which tab you want to work with. The option "active tab of frontmost window" will target the currently active tab at the time this action is executed, while "specific tab" will let you target an existing browser tab.
Options:
- active tab of frontmost window
- specific tab
Specific browser tab
If Target tab is set to "specific tab", this parameter expects a browser tab reference.
Type: Browser Tab
Match form field
Select how the form field should be looked up, either by the field's name
or id
attribute, or by a CSS selector (see https://developer.mozilla.org/en-US/docs/Glossary/CSS_Selector for more info).
Options:
-
with
name
attribute of -
with
id
attribute of - identified by CSS selector
Form field
The form field descriptor, i.e. either the field's name
or id
attribute, or a CSS selector, depending on what's selected in Match form field.
Type: Text
Return Value
Boolean (YES
/NO
)
Related Links
- Search the Browser Actions community forum for "Focus Form Field (β)"