RemoteTargetLocator
class RemoteTargetLocator implements WebDriverTargetLocator (View source)
Used to locate a given frame or window for RemoteWebDriver.
Properties
| protected RemoteExecuteMethod | $executor | ||
| protected RemoteWebDriver | $driver | ||
| protected bool | $isW3cCompliant | 
Methods
                    __construct(RemoteExecuteMethod $executor, RemoteWebDriver $driver, $isW3cCompliant = false)
        
                                            
                
            No description
                    defaultContent()
        
                                            
                
            No description
                    parent()
        
                                            
                
            Switch to the parent iframe.
                    newWindow(string $windowType = self::WINDOW_TYPE_TAB)
        
                                            
                
            Creates a new browser window and switches the focus for future commands of this driver to the new window.
                    alert()
        
                                            
                
            Switch to the currently active modal dialog for this particular driver instance.
                    activeElement()
        
                                            
                
            No description
Details
        
                            
    __construct(RemoteExecuteMethod $executor, RemoteWebDriver $driver, $isW3cCompliant = false)
        
    
    No description
        
                            WebDriver
    defaultContent()
        
    
    No description
        
                            WebDriver
    frame(WebDriverElement|null|int|string $frame)
        
    
    No description
        
                            RemoteWebDriver
    parent()
        
    
    Switch to the parent iframe.
        
                            WebDriver
    window(string $handle)
        
    
    No description
        
                            RemoteWebDriver
    newWindow(string $windowType = self::WINDOW_TYPE_TAB)
        
    
    Creates a new browser window and switches the focus for future commands of this driver to the new window.
        
                            WebDriverAlert
    alert()
        
    
    Switch to the currently active modal dialog for this particular driver instance.
        
                            WebDriverElement
    activeElement()
        
    
    No description