From e7eb6fcd4781a907bf698a88df9cb34b5b31c369 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Thu, 4 Jul 2019 12:16:16 +0200 Subject: devtools: Prefix temp directories --- crocoite/devtools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crocoite/devtools.py b/crocoite/devtools.py index ea46aaa..b6311df 100644 --- a/crocoite/devtools.py +++ b/crocoite/devtools.py @@ -269,7 +269,7 @@ class Process: async def __aenter__ (self): assert self.p is None - self.userDataDir = mkdtemp () + self.userDataDir = mkdtemp (prefix=__package__ + '-chrome-userdata-') # see https://github.com/GoogleChrome/chrome-launcher/blob/master/docs/chrome-flags-for-tools.md args = [self.binary, '--window-size={},{}'.format (*self.windowSize), -- cgit v1.2.3