Chrome Remote Interface v0.4.1 ChromeRemoteInterface.Session View Source
This module provides an API to the DevTools HTTP API.
Link to this section Summary
Functions
documentation needed!
Closes a Page.
List all Pages.
Create a new ChromeRemoteInterface.Server to perform HTTP requests to.
Creates a new Page.
Gets the version of Chrome.
Link to this section Functions
Link to this function
activate_page(server, id) View Source
documentation needed!
Calls /json/activate/:id
.
Link to this function
close_page(server, id) View Source
Closes a Page.
Calls /json/close/:id
.
Link to this function
list_pages(server) View Source
List all Pages.
Calls /json/list
.
Link to this function
new(opts \\ [])
View Source
new(opts \\ [])
View Source
new(keyword()) :: ChromeRemoteInterface.Server.t()
new(keyword()) :: ChromeRemoteInterface.Server.t()
Create a new ChromeRemoteInterface.Server to perform HTTP requests to.
Link to this function
new_page(server) View Source
Creates a new Page.
Calls /json/new
.
Link to this function
version(server) View Source
Gets the version of Chrome.
Calls /json/version
.