mirror of
https://github.com/MontFerret/ferret.git
synced 2024-12-16 11:37:36 +02:00
63201148ac
* Added possibility to set custom viewport size * Fixed linting issue * Renamed ScreenSize to Viewport * Updated e2e test
21 lines
302 B
Go
21 lines
302 B
Go
package drivers
|
|
|
|
type (
|
|
Viewport struct {
|
|
Height int
|
|
Width int
|
|
ScaleFactor float64
|
|
Mobile bool
|
|
Landscape bool
|
|
}
|
|
|
|
Params struct {
|
|
URL string
|
|
UserAgent string
|
|
KeepCookies bool
|
|
Cookies []HTTPCookie
|
|
Header HTTPHeader
|
|
Viewport *Viewport
|
|
}
|
|
)
|