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

Method SetImplicitWaitTimeout

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

Source from the content-addressed store, hash-verified

562}
563
564func (wd *remoteWD) SetImplicitWaitTimeout(timeout time.Duration) error {
565 if !wd.w3cCompatible {
566 return wd.voidCommand("/session/%s/timeouts/implicit_wait", map[string]uint{
567 "ms": uint(timeout / time.Millisecond),
568 })
569 }
570 return wd.voidCommand("/session/%s/timeouts", map[string]uint{
571 "implicit": uint(timeout / time.Millisecond),
572 })
573}
574
575func (wd *remoteWD) SetPageLoadTimeout(timeout time.Duration) error {
576 if !wd.w3cCompatible {

Callers

nothing calls this directly

Calls 1

voidCommandMethod · 0.95

Tested by

no test coverage detected