frame
Change focus to another frame on the page. If the frame id is null, the server should switch to the page’s default content.
Usage
1 | browser.frame(id); |
Parameters
Param | Type | Details |
---|---|---|
id | String/Number/null/WebElementJSONObject | Identifier for the frame to change focus to. |
Example
1 | it('should switch focus to iFrame', function () { |