MCPcopy Index your code
hub / github.com/tebeka/selenium / voidCommand

Function voidCommand

remote.go:269–279  ·  view source on GitHub ↗
(method, url string, params interface{})

Source from the content-addressed store, hash-verified

267}
268
269func voidCommand(method, url string, params interface{}) error {
270 if params == nil {
271 params = make(map[string]interface{})
272 }
273 data, err := json.Marshal(params)
274 if err != nil {
275 return err
276 }
277 _, err = executeCommand(method, url, data)
278 return err
279}
280
281func (wd *remoteWD) voidCommand(urlTemplate string, params interface{}) error {
282 return voidCommand("POST", wd.requestURL(urlTemplate, wd.id), params)

Callers 2

DeleteSessionFunction · 0.85
voidCommandMethod · 0.85

Calls 1

executeCommandFunction · 0.85

Tested by

no test coverage detected