Documentation ¶
Overview ¶
Package mediasession contains common utilities to help writing media session tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
Conn is the connection to the test page.
func LoadTestPage ¶
LoadTestPage opens the media session test page in Chrome. The caller is responsible for closing the returned Conn. Tests should symlink data/media_session_test.html into their own data directory and pass the URL at which is available via the url argument.
func (*Conn) Play ¶
Play starts to play the audio and checks that it has successfully started playing.
Click to show internal directories.
Click to hide internal directories.