org.openqa.selenium.chrome
Class ChromeProfile

java.lang.Object
  extended by org.openqa.selenium.chrome.ChromeProfile

public class ChromeProfile
extends java.lang.Object

Manages the extension used by the ChromeDriver.

Author:
[email protected] (Jason Leyba)

Field Summary
static ChromeProfile DEFAULT_PROFILE
           
 
Constructor Summary
ChromeProfile()
          Creates a new profile using a temporary directory.
ChromeProfile(java.io.File directory)
          Create a new profile using the given directory.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.io.File getDirectory()
           
 Proxy getProxy()
           
 void setProxy(Proxy proxy)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_PROFILE

public static final ChromeProfile DEFAULT_PROFILE
Constructor Detail

ChromeProfile

public ChromeProfile(java.io.File directory)
Create a new profile using the given directory. Assumes that the directory exists and has the required files.

Parameters:
directory - The directory to use.

ChromeProfile

public ChromeProfile()
Creates a new profile using a temporary directory.

Method Detail

getDirectory

public java.io.File getDirectory()

getProxy

public Proxy getProxy()

setProxy

public void setProxy(Proxy proxy)

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010. All Rights Reserved.