ChromeOptions
class ChromeOptions (View source)
The class manages the capabilities in ChromeDriver.
Constants
| CAPABILITY | The key of chrome options in desired capabilities. | 
Methods
Sets the path of the Chrome executable. The path should be either absolute or relative to the location running ChromeDriver server.
No description
Add a Chrome extension to install on browser startup. Each path should be a packed Chrome extension.
No description
Sets an experimental option which has not exposed officially.
No description
No description
Details
        
                            ChromeOptions
    setBinary(string $path)
        
    
    Sets the path of the Chrome executable. The path should be either absolute or relative to the location running ChromeDriver server.
        
                            ChromeOptions
    addArguments(array $arguments)
        
    
    No description
        
                            ChromeOptions
    addExtensions(array $paths)
        
    
    Add a Chrome extension to install on browser startup. Each path should be a packed Chrome extension.
        
                            ChromeOptions
    addEncodedExtensions(array $encoded_extensions)
        
    
    No description
        
                            ChromeOptions
    setExperimentalOption(string $name, mixed $value)
        
    
    Sets an experimental option which has not exposed officially.
        
                            DesiredCapabilities
    toCapabilities()
        
    
    No description
        
                            array
    toArray()
        
    
    No description