Esempio n. 1
0
    def start_control_server(self):
        self.control_server = RaptorControlServer(self.results_handler, self.debug_mode)
        self.control_server.user_profile = self.profile
        self.control_server.start()

        if self.config["enable_control_server_wait"]:
            self.control_server_wait_set("webext_shutdownBrowser")
Esempio n. 2
0
    def start_control_server(self):
        self.control_server = RaptorControlServer(self.results_handler,
                                                  self.debug_mode)
        self.control_server.start()

        if self.config['enable_control_server_wait']:
            self.control_server_wait_set(
                'webext_status/__raptor_shutdownBrowser')
Esempio n. 3
0
    def start_control_server(self):
        self.control_server = RaptorControlServer(self.results_handler)
        self.control_server.start()

        # for android we must make the control server available to the device
        if self.config['app'] == "geckoview":
            self.log.info("making the raptor control server port available to device")
            _tcp_port = "tcp:%s" % self.control_server.port
            self.device.create_socket_connection('reverse', _tcp_port, _tcp_port)
Esempio n. 4
0
    def start_control_server(self):
        self.control_server = RaptorControlServer(self.results_handler, self.debug_mode)
        self.control_server.start()

        # for android we must make the control server available to the device
        if self.config['app'] in self.firefox_android_apps and \
                self.config['host'] in ('localhost', '127.0.0.1'):
            self.log.info("making the raptor control server port available to device")
            _tcp_port = "tcp:%s" % self.control_server.port
            self.device.create_socket_connection('reverse', _tcp_port, _tcp_port)
Esempio n. 5
0
    def start_control_server(self):
        self.control_server = RaptorControlServer(self.results_handler)
        self.control_server.start()

        # for android we must make the control server available to the device
        if self.config['app'] == "geckoview":
            self.log.info("making the raptor control server port available to device")
            _tcp_port = "tcp:%s" % self.control_server.port
            _cmd = ["reverse", _tcp_port, _tcp_port]
            self.device.command_output(_cmd)
Esempio n. 6
0
 def start_control_server(self):
     self.control_server = RaptorControlServer(self.results_handler)
     self.control_server.start()
Esempio n. 7
0
 def start_control_server(self):
     self.control_server = RaptorControlServer()
     self.control_server.start()