示例#1
0
 async def start(self):
     port = free_port()
     await self._check_version()
     return await subprocess_based_service(
         [self.binary, '--port', str(port), '--marionette-port', '50499'],
         f'http://localhost:{port}',
         self.log_file
     )
示例#2
0
 async def start(self):
     port = free_port()
     await self._check_version()
     return await subprocess_based_service(
         [self.binary, "--port",
          str(port), "--marionette-port", "50499"],
         f"http://localhost:{port}",
         self.log_file,
     )
示例#3
0
 async def start(self):
     port = free_port()
     await self._check_version()
     LOG("Running Webdriver on port %d" % port)
     LOG("Running Marionette on port 2828")
     pargs = [
         self.binary, "-vv", "--port",
         str(port), "--marionette-port", "2828"
     ]
     return await subprocess_based_service(pargs,
                                           f"http://localhost:{port}",
                                           self.log_file)
示例#4
0
 async def start(self):
     port = free_port()
     await self._check_version()
     logger.info("Running Webdriver on port %d" % port)
     logger.info("Running Marionette on port 2828")
     pargs = [
         self.binary,
         "--log",
         "trace",
         "--port",
         str(port),
         "--marionette-port",
         "2828",
     ]
     logger.info("Connecting on Android device")
     pargs.append("--connect-existing")
     return await subprocess_based_service(pargs,
                                           f"http://localhost:{port}",
                                           self.log_file)