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)

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
 java.io.File getDirectory()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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()


Copyright © 2010. All Rights Reserved.