pl.wendigo.chrome.api.emulation / SetEmulatedMediaRequest

SetEmulatedMediaRequest

data class SetEmulatedMediaRequest (source)

Represents request frame that can be used with Emulation#setEmulatedMedia operation call.

Emulates the given media for CSS media queries.

Link
Emulation#setEmulatedMedia method documentation.

See Also

EmulationOperations.setEmulatedMedia

Constructors

<init>

SetEmulatedMediaRequest(media: String)

Represents request frame that can be used with Emulation#setEmulatedMedia operation call.

Properties

media

val media: String

Media type to emulate. Empty string disables the override.