Skip to content

Commit 6d1612d

Browse files
authored
Merge pull request #111 from ouvrages/rename-temporary-profile-directory
Rename temporary user data directory
2 parents c2f655a + 3517ca9 commit 6d1612d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ferrum/browser/process.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def initialize(options)
6767
@logger = options[:logger]
6868
@process_timeout = options.fetch(:process_timeout, PROCESS_TIMEOUT)
6969

70-
tmpdir = Dir.mktmpdir
70+
tmpdir = Dir.mktmpdir("ferrum_user_data_dir_")
7171
ObjectSpace.define_finalizer(self, self.class.directory_remover(tmpdir))
7272
@user_data_dir = tmpdir
7373
@command = Command.build(options, tmpdir)

0 commit comments

Comments
 (0)