SeleniumClient\TargetLocator
Synopsis
class TargetLocator
{
- // members
- private $_driver;
- // methods
- public void __construct()
- public current getFrameByIndex()
- public current getFrameByName()
- public current getFrameByWebElement()
- public current getWindow()
- public current getDefaultFrame()
- public WebElement getActiveElement()
- public Alert getAlert()
Members
private
- $_driver
Methods
public
- __construct()
- getActiveElement() — Finds the active element on the page and returns it
- getAlert() — Switches to the currently active modal dialog for this particular driver instance.
- getDefaultFrame() — Change the active frame to the default
- getFrameByIndex() — Move to a different frame using its index
- getFrameByName() — Move to different frame using its name
- getFrameByWebElement() — Move to a frame element.
- getWindow() — Change to the Window by passing in the name