We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d84d7a commit 9393899Copy full SHA for 9393899
browserstack/local.py
@@ -26,16 +26,21 @@ def _generate_cmd(self):
26
def start(self, **kwargs):
27
self.options = kwargs
28
29
+ if 'key' in self.options:
30
+ self.key = self.options['key']
31
+ del self.options['key']
32
+
33
if 'binarypath' in self.options:
34
self.binary_path = binary_path
35
+ del self.options['binarypath']
36
else:
37
self.binary_path = LocalBinary().get_binary()
38
39
if 'logfile' in self.options:
40
self.local_logfile_path = self.options['logfile']
41
del self.options['logfile']
42
- if "onlyCommand" in kwargs and kwargs["onlyCommand"]:
43
+ if "onlyCommand" in kwargs and kwargs["onlyCommand"]:
44
return
45
46
self.proc = subprocess.Popen(self._generate_cmd(), stdout=subprocess.PIPE)
0 commit comments