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

Method SetAsyncScriptTimeout

remote.go:553–562  ·  view source on GitHub ↗
(timeout time.Duration)

Source from the content-addressed store, hash-verified

551}
552
553func (wd *remoteWD) SetAsyncScriptTimeout(timeout time.Duration) error {
554 if !wd.w3cCompatible {
555 return wd.voidCommand("/session/%s/timeouts/async_script", map[string]uint{
556 "ms": uint(timeout / time.Millisecond),
557 })
558 }
559 return wd.voidCommand("/session/%s/timeouts", map[string]uint{
560 "script": uint(timeout / time.Millisecond),
561 })
562}
563
564func (wd *remoteWD) SetImplicitWaitTimeout(timeout time.Duration) error {
565 if !wd.w3cCompatible {

Callers

nothing calls this directly

Calls 1

voidCommandMethod · 0.95

Tested by

no test coverage detected