async def start(self): port = free_port() return await subprocess_based_service( [self.binary, f"/port={port}", f"/log-level={self.log_level}"], f"http://localhost:{port}", self.log_file, )
async def start(self): port = free_port() return await subprocess_based_service( [self.binary, f"--webdriver={port}"], f"http://localhost:{port}/wd/hub", self.log_file, )
async def start(self): port = free_port() await self._check_version() return await subprocess_based_service( [self.binary, "--port", str(port)], f"http://localhost:{port}", self.log_file, )
async def start(self): port = free_port() return await subprocess_based_service( [self.binary, f"--port={port}"], f"http://localhost:{port}", self.log_file, start_timeout=self.start_timeout, )
async def start(self): port = free_port() return await subprocess_based_service([self.binary, f'--port={port}'], f'http://localhost:{port}', self.log_file)