Exemplo n.º 1
0
 public static FirefoxProfile fromJson(String json) throws IOException {
   return new FirefoxProfile(Zip.unzipToTempDir(json, "webdriver", "duplicated"));
 }
Exemplo n.º 2
0
 public String toJson() throws IOException {
   return Zip.zip(layoutOnDisk());
 }