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

Function disconnect

javascript/grid-ui/src/components/LiveView/LiveView.tsx:46–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44 }
45
46 const disconnect = () => {
47 if (!rfb) {
48 return
49 }
50 rfb.disconnect()
51 setRfb(null)
52 }
53
54 useImperativeHandle(ref, () => ({
55 disconnect

Callers 4

connectFunction · 0.85
LiveView.tsxFile · 0.85
handleCloseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected