(name string, width, height int)
| 854 | } |
| 855 | |
| 856 | func (wd *remoteWD) ResizeWindow(name string, width, height int) error { |
| 857 | if !wd.w3cCompatible { |
| 858 | return wd.modifyWindow(name, "POST", "size", map[string]int{ |
| 859 | "width": width, |
| 860 | "height": height, |
| 861 | }) |
| 862 | } |
| 863 | return wd.modifyWindow(name, "POST", "rect", map[string]float64{ |
| 864 | "width": float64(width), |
| 865 | "height": float64(height), |
| 866 | }) |
| 867 | } |
| 868 | |
| 869 | func (wd *remoteWD) SwitchFrame(frame interface{}) error { |
| 870 | params := map[string]interface{}{} |
nothing calls this directly
no test coverage detected