Lines Matching refs:temp_dir
117 $temp_dir = $this->createTempDirectory('WebDriverFirefoxProfile');
120 copy($this->rdf_file, $temp_dir . DIRECTORY_SEPARATOR . 'mimeTypes.rdf');
124 $this->installExtension($extension, $temp_dir);
128 mkdir($temp_dir . DIRECTORY_SEPARATOR . $dirname);
134 $target_dir = $temp_dir . DIRECTORY_SEPARATOR . $dirname . DIRECTORY_SEPARATOR
149 file_put_contents($temp_dir . '/user.js', $content);
157 $dir = new RecursiveDirectoryIterator($temp_dir);
163 $temp_dir . DIRECTORY_SEPARATOR
179 $this->deleteDirectory($temp_dir);
192 $temp_dir = $this->createTempDirectory('WebDriverFirefoxProfileExtension');
193 $this->extractTo($extension, $temp_dir);
197 $install_rdf_path = $temp_dir . '/install.rdf';
219 $this->deleteDirectory($temp_dir);
224 $this->deleteDirectory($temp_dir);
237 $temp_dir = tempnam(sys_get_temp_dir(), $prefix);
238 if (file_exists($temp_dir)) {
239 unlink($temp_dir);
240 mkdir($temp_dir);
241 if (!is_dir($temp_dir)) {
246 return $temp_dir;