Package org.openqa.selenium.internal

Examples of org.openqa.selenium.internal.Zip


    }

  public String toJson() throws IOException {
    updateUserPrefs();

    return new Zip().zip(profileDir);
  }
View Full Code Here


  }

  public static FirefoxProfile fromJson(String json) throws IOException {
    File dir = TemporaryFilesystem.createTempDir("webdriver", "duplicated");

    new Zip().unzip(json, dir);

    return new FirefoxProfile(dir);
  }
View Full Code Here

TOP

Related Classes of org.openqa.selenium.internal.Zip

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.