(timeout time.Duration)
| 573 | } |
| 574 | |
| 575 | func (wd *remoteWD) SetPageLoadTimeout(timeout time.Duration) error { |
| 576 | if !wd.w3cCompatible { |
| 577 | return wd.voidCommand("/session/%s/timeouts", map[string]interface{}{ |
| 578 | "ms": uint(timeout / time.Millisecond), |
| 579 | "type": "page load", |
| 580 | }) |
| 581 | } |
| 582 | return wd.voidCommand("/session/%s/timeouts", map[string]uint{ |
| 583 | "pageLoad": uint(timeout / time.Millisecond), |
| 584 | }) |
| 585 | } |
| 586 | |
| 587 | func (wd *remoteWD) Quit() error { |
| 588 | if wd.id == "" { |
nothing calls this directly
no test coverage detected