MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / _bytes

Function _bytes

py/test/selenium/webdriver/common/network.py:27–28  ·  view source on GitHub ↗
(value, encoding)

Source from the content-addressed store, hash-verified

25
26 def get_interface_ip(ifname):
27 def _bytes(value, encoding):
28 return bytes(value, encoding)
29
30 sckt = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
31 return socket.inet_ntoa(

Callers 1

get_interface_ipFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected