content
Sets the given HTML content on the page with an optional waitUntil parameter
Example:
mutation SetContent {
content(html: "<h1>Hello, World!</h1>") {
status
}
}
content(
html: String!
waitUntil: WaitUntilHistory
): HTTPResponse
Arguments
content.html
● String!
non-null scalar
When present, sets the content of page to the value passed, then returns the pages content
content.waitUntil
● WaitUntilHistory
enum
When to consider the page fully-loaded and proceed with further execution, used in conjunction with the value parameter
Type
HTTPResponse
object
Response returned after a navigation event