MCPcopy Create free account
hub / github.com/tebeka/selenium / Stop

Method Stop

service.go:395–404  ·  view source on GitHub ↗

Stop kills the background frame buffer process and removes the X authorization file.

()

Source from the content-addressed store, hash-verified

393// Stop kills the background frame buffer process and removes the X
394// authorization file.
395func (f FrameBuffer) Stop() error {
396 if err := f.cmd.Process.Kill(); err != nil {
397 return err
398 }
399 os.Remove(f.AuthPath) // best effort removal; ignore error
400 if err := f.cmd.Wait(); err != nil && err.Error() != "signal: killed" {
401 return err
402 }
403 return nil
404}

Callers

nothing calls this directly

Calls 2

ErrorMethod · 0.80
WaitMethod · 0.65

Tested by

no test coverage detected