port property

port property

Returns the Location object’s URL’s port. Can be set, to navigate to the same URL with a changed port.

Definition:

@property
def port(self):
    ...
@port.setter
def port(self, value):
    ...

See Also