$executor
$executor :
Used to locate a given frame or window.
defaultContent() : \WebDriver
Switch to the main document if the page contains iframes. Otherwise, switch to the first frame on the page.
The driver focused on the top window or the first frame.
frame(\WebDriverElement|string $frame) : \WebDriver
Switch to the iframe by its id or name.
| \WebDriverElement|string | $frame | The WebDriverElement, the id or the name of the frame. |
The driver focused on the given frame.
window(string $handle) : \WebDriver
Switch the focus to another window by its handle.
| string | $handle | The handle of the window to be focused on. |
Tge driver focused on the given window.
alert() : \WebDriverAlert
Switch to the currently active modal dialog for this particular driver instance.