@port.setter
    def port(self, port):
        if not isinstance(port, int):
            raise WebDriverException("Port needs to be an integer")
        try:
            port = int(port)
            if port < 1 or port > 65535:
                raise WebDriverException("Port number must be in the range 1..65535")
        except (ValueError, TypeError) as e:
            raise WebDriverException("Port needs to be an integer")
        self._port = port
        self.set_preference("webdriver_firefox_port", self._port)
Create a chunk from data including header and length bytes.
dataset/ETHPy150Open apiad/sublime-browser-integration/selenium/webdriver/firefox/firefox_profile.py/FirefoxProfile.port--crossover with--dataset/ETHPy150Open grampajoe/pymosh/pymosh/riff.py/RiffDataChunk.from_data