Goes to a website

Options:

Option

Required

Description

Example

url

true

(string) URL of the page to load.

https://twitter.com

cookies

false

(object[]) Cookies to set before going to the page. Cookies will be set in the same domain.

{
"name": "auth_token",
"value": "twitter-token-123",
"domain": ".twitter.com"
}

waitForSelector

false

(string) Query selector of the element to wait till the element is appeared in the page.

article[role='article']

Example 1:

{
  "action": "goto",
  "options": {
    "url": "$tweetUrl",
    "cookies": [
      {
        "name": "auth_token",
        "value": "$twitterAuthToken",
        "domain": ".twitter.com"
      }
    ],
    "waitForSelector": "article[role='article']"
  }
}