Skip to Content
ReferenceActionsBROWSER

Browser Action

The browser action drives a real Chrome through chromedp : it opens pages, reads and types into them, waits for elements, and takes screenshots. Chrome or Chromium has to be installed where Probe runs.

It is an external action, published in mozership/probe-browser ; it was built into Probe up to v1.21.0. Probe downloads it the first time a workflow uses it, and runs the executable whose SHA-256 the action.yml at the pinned commit names. It needs Probe v1.21.0 or later. The notes of each release  start with the uses line to copy.

The action cannot tell what a page will do, so it keeps to no guard: under --read-only or --allow-host, a step that uses it is refused unless --allow-action names it.

Basic Syntax

A browser step lists what to do under actions, in order. Every step starts a fresh browser, runs its actions, and closes it, so cookies and a login do not carry over to the next step on their own: put a whole flow in one step, or save the login with save_storage_state and start the next step’s browser from it, as described in Carrying a login over.

steps: - name: Read the heading uses: github.com/mozership/probe-browser@9d223e37dbe0af334d922a88c0e8786f7a8c2cb8 # v0.5.1 with: actions: - name: navigate url: "{{vars.url}}/" - name: text id: heading selector: h1 test: res.code == 0 && res.results.heading == "Welcome"

Parameters

These go directly under with.

ParameterTypeDefaultDescription
actionsListrequiredThe actions to run, in order. See Actions
timeoutDuration string or number of seconds5sLimit for the whole step: starting the browser and every action. 30s, 30 and "30" all mean 30 seconds; any other value, zero or less, is refused
headlessBooleantrueRun Chrome without a window
window_wInteger1920Window width in pixels
window_hInteger1080Window height in pixels
evidence_dirStringthe temporary directoryWhere the page is saved when the actions fail. See Page at failure
storage_stateStringnoneA file save_storage_state wrote, whose cookies and localStorage the browser starts with. See Carrying a login over
passkeysStringnoneA file save_passkeys wrote, whose passkeys the virtual authenticator starts with. Without virtual_authenticator, it starts one of the defaults. See Carrying a passkey over
virtual_authenticatorBoolean or mapnoneAnswer WebAuthn with a virtual authenticator, so that a passkey can be registered and used without a user. See Signing in with a passkey

Starting Chrome takes part of timeout, often a second or more, so a short limit can run out before the first page opens.

Actions

Each entry of actions names its action in name and takes these fields:

FieldUsed byDescription
nameallThe action, from the tables below
idactions that return somethingThe key for the result in res.results or res.filepaths. Without it the action’s name is the key, so a later action of the same kind replaces the earlier result
urlnavigateThe address to open
selectoractions on an elementA CSS selector. It finds elements in open shadow roots too. See Finding an element
has_textactions on an elementOf the elements selector matches, or of all without it, take the innermost whose visible text contains this. See Finding an element
valuetype, send_keys, press, set_value, select, set_user_verifiedThe text to use. Of press, the key, as Enter or Shift+Tab. Of set_user_verified, true or false
attributeget_attributeThe attribute to read, as href or [href]. Of a list, only the first entry is read
qualityfull_screenshot1 to 99 saves JPEG at that quality. Anything else, including unset, 0, 100 and above, or a negative number, saves PNG
pathscreenshots, save_storage_state, save_passkeysOf a screenshot, deprecated: also write the image to this path; use res.filepaths instead. Of save_storage_state and save_passkeys, where to write the file, in place of a new one in the temporary directory
equalswait_textWait until the text is exactly this. equals: "" waits for an empty text
containswait_textWait until the text contains this
not_containswait_textWait until the text does not contain this, as when a placeholder such as Loading gives way to the content
matcheswait_textWait until the text matches this regular expression, in Go’s syntax 
cookie_nameget_cookieThe name of the cookie to read

A wait_text takes at most one of equals, contains, not_contains and matches, and no other action takes them. An empty contains or matches is refused too, since any text would pass it, and so is an empty not_contains, since no text would. A workflow that sets them otherwise is refused before the browser starts.

An action that looks for an element waits until the element appears, and the step fails when timeout runs out first. Most of them also wait for it to be visible.

Finding an element

An action on an element takes selector, has_text, or both, and acts on the first element they match, in the order of the page, where the elements of a shadow root come right after its host. An action that needs an element and has neither is refused before the browser starts, and so is has_text on an action that acts on no element.

selector is a CSS selector, looked for in the document and in every open shadow root, so an element a component renders into its shadow root is found as one outside it is. Each root is matched on its own: #host p does not reach a p in the shadow root of #host, but p does. A closed shadow root is out of reach of the page’s scripts, and of the action. A selector is CSS only: it is not an XPath, and not a text to look for.

has_text picks elements by what a user reads on them, so that a step does not depend on the structure of the page:

- name: click selector: button has_text: Recovery codes - name: click selector: '[data-slot="dropdown-menu-item"]' has_text: Delete label

It keeps the elements whose visible text contains has_text, runs of spaces and line breaks being one space, and of them only the innermost, so that has_text alone finds the button rather than the card around it. An element slotted into a component is inside the slot it shows in, and an element with no box of its own, such as a <slot>, is not taken, as an action can neither click nor see it. The text is case-sensitive. A hidden element has no visible text, so it is found only once it is shown. Of an SVG, only the text it draws counts, not its <title>.

text and wait_text read the visible text of the element, and that of the open shadow roots in it, with the nodes a slot shows in its place: innerText leaves out both. So a wait_text on the element that holds a message body rendered into a shadow root sees the body, and has_text finds a component by the text it frames around what is slotted into it. The text of a shadow root is put together as innerText puts that of the document: a paragraph is parted from what is around it by a blank line, as a <br> makes a line of its own, and spaces run together as the style of the text has them.

These open a page or hold the step until the page is in the state the next action needs.

ActionWhat it does
navigateOpens url and waits for the page to load. A network error the browser reports, such as net::ERR_CONNECTION_REFUSED, fails it at once; an address that never answers keeps it waiting until timeout
wait_visibleWaits until selector is visible
wait_not_visibleWaits until no element that matches selector is visible. An element taken out of the page counts as not visible, as one a conditional render removes, and so does one that was never there: after an action that brings the element, wait for it with wait_visible first
wait_enabledWaits until selector is visible and enabled
wait_readyWaits until the page’s body is ready. selector is ignored

Reading the page

These put a string in res.results, under id or the action’s name.

ActionResult
textThe visible text of selector, that of the open shadow roots in it included, or an empty string when it is hidden
wait_textWaits until selector is visible, then its visible text, as text reads it. With equals, contains, not_contains or matches, it also waits until the text is the one expected. See Waiting for a text
valueThe value of a form field, such as an input
get_attributeThe first attribute in attribute of selector, or an empty string when the element does not have it
get_htmlThe outer HTML of selector, once it is visible
get_cookieThe value of the cookie cookie_name the browser sends to the page open, HttpOnly ones included. It waits until the page has the cookie, as one set a moment after a sign-in. When timeout runs out first, the step fails with the names of the cookies the page has, but not their values. Of two with the name, it gives the one of the longer path, which the browser sends first; two of one path, which differ in their domains, fail the step, as which the browser sends first cannot be told

Interacting

These act on the page the way a user would. They return nothing.

ActionWhat it does
clickClicks selector once it is visible
double_clickDouble-clicks selector once it is visible
type, send_keysTypes value into selector in place of what it holds, once it is visible. Of an input or a textarea, the value is cleared first. Of a contenteditable element, such as a rich text editor, the content is selected and typed over, as after Ctrl+A, so that the editor sees the change; an empty value deletes it. Any other element fails the step
pressPresses the key value on selector, once it is visible, or without selector on the element that has the focus. See Pressing a key
set_valueSets the value of the input, textarea or select at selector to value, once it is visible, and fires input and change as a user’s edit does. It does not type, so a date is given as 2000-01-02 whatever the browser’s locale. A value the field does not take, such as 2000-13-01 of a date, fails the step
submitSubmits the form selector belongs to
focusFocuses selector
scrollScrolls selector into view
selectChooses the option of the <select> at selector whose value is value, or else whose label is, once it is visible, and fires input and change as a user’s choice does. An option that is not there or is disabled, a <select> that is disabled, and an element that is not a <select>, fail the step with the reason, a disabled on an <optgroup> or a <fieldset> around them included; the values of the options are in the message. Of a <select multiple>, the option is added to those chosen
hoverSends a mouseover event to selector. It does not wait, and does nothing when nothing matches
right_clickSends a contextmenu event to selector. It does not wait, and does nothing when nothing matches

Screenshots

These save an image file and put its path in res.filepaths, under id or the action’s name. The file is named for its format, .png or .jpg.

ActionImage
capture_screenshotThe visible part of the window, as PNG
full_screenshotThe whole page, as PNG, or as JPEG when quality is 1 to 99
screenshotOnly selector, once it is visible, as PNG

Storage state

ActionWhat it does
save_storage_stateWrites the cookies of the browser and the localStorage of the page open into a JSON file, and puts its path in res.filepaths, under id or the action’s name. The file goes to path, or to a new probe-browser-state-*.json in the temporary directory. See Carrying a login over

Passkeys

These use the virtual authenticator, so they need virtual_authenticator or passkeys. See Signing in with a passkey.

ActionWhat it does
wait_passkeyWaits until the virtual authenticator registers a passkey or signs in with one, and puts which it did, registration or authentication, in res.results, under id or the action’s name. See Waiting for a passkey
set_user_verifiedHas user verification succeed, with value: true, or fail, with value: false, from then on. It needs an authenticator with user_verification
save_passkeysWrites the passkeys the virtual authenticator holds, private keys included, into a JSON file, and puts its path in res.filepaths, under id or the action’s name. The file goes to path, or to a new probe-browser-passkeys-*.json in the temporary directory. It needs virtual_authenticator or passkeys, and fails when the authenticator holds none. See Carrying a passkey over

Response Object

When every action succeeds, the step sees:

FieldTypeDescription
res.codeInteger0
res.resultsObjectWhat the reading actions returned, by id or action name
res.filepathsObjectWhere the screenshots, the storage states and the passkeys were saved, by id or action name
res.console_errorsListThe errors the page wrote to its console while the actions ran, in order. See Checking the console
rt.durationStringHow long the step took, such as "663.268333ms"
statusInteger0

When an action fails there is no response to test: the step fails with an action error, as described in Error Handling.

Examples

Each example is one step, since a step’s actions share one browser and the next step starts a new one. Carrying a login over is the exception: it has two steps, as it hands the login from one to the next.

Logging in

A login and the check that it worked have to share one browser, so they are one step.

secrets: - PASSWORD vars: url: "{{APP_URL}}" user: "{{USERNAME}}" password: "{{PASSWORD}}" jobs: - name: Sign in steps: - name: Log in and reach the dashboard uses: github.com/mozership/probe-browser@9d223e37dbe0af334d922a88c0e8786f7a8c2cb8 # v0.5.1 with: timeout: 30s actions: - name: navigate url: "{{vars.url}}/login" - name: type selector: "#username" value: "{{vars.user}}" - name: type selector: "#password" value: "{{vars.password}}" - name: click selector: "button[type='submit']" - name: wait_visible selector: "#dashboard" - name: text id: greeting selector: "#dashboard h1" test: res.code == 0 && res.results.greeting contains vars.user

Reading several values

Give each reading action an id so the results do not replace each other.

- name: Product page uses: github.com/mozership/probe-browser@9d223e37dbe0af334d922a88c0e8786f7a8c2cb8 # v0.5.1 with: actions: - name: navigate url: "{{vars.url}}/products/42" - name: text id: title selector: "h1" - name: text id: price selector: ".price" - name: get_attribute id: image selector: "img.product" attribute: [src] test: | res.code == 0 && res.results.title != "" && res.results.price startsWith "$" outputs: image_url: res.results.image

Waiting for a text

A page that fetches its data shows it a moment after it loads, so a text read as soon as the element is visible can get Loading and fail the test. A wait_text with equals, contains, not_contains or matches reads the text again until it is the one expected. Of a text that can be anything once it is there, such as a summary a model writes, not_contains waits for the placeholder to go.

- name: Order list uses: github.com/mozership/probe-browser@9d223e37dbe0af334d922a88c0e8786f7a8c2cb8 # v0.5.1 with: timeout: 30s actions: - name: navigate url: "{{vars.url}}/orders" - name: wait_text id: status selector: "#status" matches: '^\d+ orders$' test: res.code == 0 outputs: status: res.results.status

When the step’s timeout runs out first, the step fails with an action error that gives the last text read, and the page is saved, as described in Page at failure:

wait_text "#status": the text was "Loading", want it to match "^\\d+ orders$": context deadline exceeded (page at failure: ...)

Pressing a key

A press names the key as KeyboardEvent.key does, as Enter, Tab, Escape, Backspace or ArrowDown, or gives a single character, as a. Space is taken for " ". Modifiers come before the key, joined by +: Alt, Control, Meta and Shift, as in Shift+Tab or Control+a. A key it does not know is refused before the browser starts.

A search field that submits on Enter, with no button to click:

- name: Search uses: github.com/mozership/probe-browser@9d223e37dbe0af334d922a88c0e8786f7a8c2cb8 # v0.5.1 with: timeout: 30s actions: - name: navigate url: "{{vars.url}}/" - name: type selector: "#search" value: probe - name: press value: Enter - name: wait_text id: heading selector: h1 contains: probe test: res.code == 0

A type whose value ends in "\r" presses Enter too, but only in a double-quoted YAML string: unquoted or in single quotes, \r is typed as two characters.

A step that signs in can hand the token the app keeps in a cookie to a later step, as to call the app’s API as that user, with get_cookie:

- name: Sign up id: signup uses: github.com/mozership/probe-browser@9d223e37dbe0af334d922a88c0e8786f7a8c2cb8 # v0.5.1 with: timeout: 30s actions: - name: navigate url: "{{vars.url}}/signup" # ... the actions that sign up - name: get_cookie id: token cookie_name: access_token test: res.code == 0 outputs: token: res.results.token

Carrying a login over

A step that signs in can save the login with save_storage_state, and the steps after it start their browsers signed in by naming the file in storage_state, rather than each signing in again.

- name: Sign in id: login uses: github.com/mozership/probe-browser@9d223e37dbe0af334d922a88c0e8786f7a8c2cb8 # v0.5.1 with: timeout: 30s actions: - name: navigate url: "{{vars.url}}/login" - name: type selector: "#username" value: "{{vars.user}}" - name: type selector: "#password" value: "{{vars.password}}" - name: click selector: "button[type='submit']" - name: wait_visible selector: "#dashboard" - name: save_storage_state id: state test: res.code == 0 outputs: state: res.filepaths.state - name: Orders uses: github.com/mozership/probe-browser@9d223e37dbe0af334d922a88c0e8786f7a8c2cb8 # v0.5.1 with: storage_state: "{{outputs.login.state}}" actions: - name: navigate url: "{{vars.url}}/orders" - name: wait_text selector: "h1" equals: "Orders" test: res.code == 0

The file holds the cookies of every site the browser has, HttpOnly ones included, and the localStorage of the origin of the page open when it is saved; to keep the localStorage of another origin, save the state while a page of it is open. It has the shape of Playwright’s storage state , so that either tool reads what the other writes.

Before the first action, a browser given storage_state takes its cookies, and opens a page of each origin with items in it to write the localStorage there. Those pages are answered with an empty one inside the browser, so they reach no server and run none of the app’s scripts, and the browser is back on about:blank when the first action runs. A file that is missing or is not a storage state fails the step before the browser starts, as when the step that writes it failed.

The cookies sign in as the user, so the file is readable only by the user who ran Probe. Without path it goes to the temporary directory, which keeps it out of the repository; with path, keep it out of version control, and out of the files a CI run uploads.

Signing in with a passkey

With virtual_authenticator, the browser answers WebAuthn with a virtual authenticator in place of the platform’s, such as Touch ID or a security key, so that a page can register a passkey and sign in with it while no one is there to touch a sensor. true gives one that holds passkeys and passes user verification:

- name: Register a passkey and sign in with it uses: github.com/mozership/probe-browser@9d223e37dbe0af334d922a88c0e8786f7a8c2cb8 # v0.5.1 with: timeout: 30s virtual_authenticator: true actions: - name: navigate url: "{{vars.url}}/account/passkeys" - name: click selector: "#add-passkey" - name: wait_visible selector: ".passkey-added" - name: navigate url: "{{vars.url}}/logout" - name: navigate url: "{{vars.url}}/login" - name: click selector: "#sign-in-with-passkey" - name: wait_visible selector: "#dashboard" test: res.code == 0

A map in its place changes the options it names, and keeps the others:

OptionDefaultDescription
transportinternalHow the authenticator says it is reached: internal for one built into the device, or usb, nfc, ble or hybrid
resident_keytrueWhether it can keep a discoverable credential, which a passkey is
user_verificationtrueWhether it can verify the user, as by a fingerprint or a PIN
user_verifiedas user_verificationWhether verifying the user succeeds. false tests how the page takes a refusal
backup_eligiblefalseWhether its credentials say they can be backed up, as those of a password manager do
backed_upfalseWhether its credentials say they are backed up. It needs backup_eligible
virtual_authenticator: user_verified: false

An option it does not know, or a value it cannot take, fails the step before the browser starts.

The authenticator speaks CTAP2 and answers at once, as a user who touches it would. It belongs to the page’s tab, so a popup the page opens has none. WebAuthn works only in a secure context, so the page has to be on https or on localhost. Like the rest of the browser, the authenticator and the passkeys it holds end with the step. To sign in with a passkey in a later step, save it as Carrying a passkey over shows.

Waiting for a passkey

A page that registers a passkey can take a moment to say so, as it sends the new credential to its server first. wait_passkey waits for the authenticator itself, and says what it did:

- name: Register a passkey uses: github.com/mozership/probe-browser@9d223e37dbe0af334d922a88c0e8786f7a8c2cb8 # v0.5.1 with: timeout: 30s virtual_authenticator: true actions: - name: navigate url: "{{vars.url}}/account/passkeys" - name: click selector: "#add-passkey" - name: wait_passkey id: added - name: save_passkeys test: res.code == 0 && res.results.added == "registration"

What the authenticator does is kept from the start of the step, and each wait_passkey takes the earliest one that no wait_passkey before it took, so a registration that ends before its wait_passkey starts is not missed. The passkeys passkeys gives are not registrations. When the step’s timeout runs out first, the step fails.

Failing user verification

set_user_verified changes, from then on, whether the authenticator verifies the user, as when a fingerprint stops matching, so that one step can register a passkey and then see how the page takes a sign-in whose verification fails:

virtual_authenticator: true actions: # ... register a passkey ... - name: set_user_verified value: false - name: click selector: "#sign-in-with-passkey" - name: wait_visible selector: ".passkey-error"

To fail it from the start, give virtual_authenticator user_verified: false instead.

Carrying a passkey over

A step that registers a passkey can save it with save_passkeys, and a later step’s authenticator starts with it when passkeys names the file:

- name: Register a passkey id: register uses: github.com/mozership/probe-browser@9d223e37dbe0af334d922a88c0e8786f7a8c2cb8 # v0.5.1 with: timeout: 30s virtual_authenticator: true actions: - name: navigate url: "{{vars.url}}/account/passkeys" - name: click selector: "#add-passkey" - name: wait_visible selector: ".passkey-added" - name: save_passkeys id: passkeys test: res.code == 0 outputs: passkeys: res.filepaths.passkeys - name: Sign in with it uses: github.com/mozership/probe-browser@9d223e37dbe0af334d922a88c0e8786f7a8c2cb8 # v0.5.1 with: timeout: 30s passkeys: "{{outputs.register.passkeys}}" actions: - name: navigate url: "{{vars.url}}/login" - name: click selector: "#sign-in-with-passkey" - name: wait_visible selector: "#dashboard" test: res.code == 0

passkeys starts an authenticator of the defaults, or of the options virtual_authenticator gives, and fails the step with virtual_authenticator: false. Wait for the page to show the passkey is registered before save_passkeys, which fails when the authenticator holds none yet.

The file lists the passkeys under passkeys, with the bytes in base64url, as relying parties keep them:

{ "passkeys": [ { "credentialId": "Wq2b...", "rpId": "example.com", "userHandle": "dXNlci03", "userName": "user-7", "privateKey": "MIGHAgEA...", "signCount": 1, "isResidentCredential": true, "backupEligibility": false, "backupState": false } ] }

A file can be written by hand too, so that a scheduled check signs in with a passkey registered once to a test account rather than registering one each run. credentialId, rpId and privateKey, an ECDSA P-256 key in PKCS#8, are required, and isResidentCredential is true when left out. A file that is missing, or a passkey the authenticator could not use, fails the step before the browser starts. A passkey is offered only to a page of its rpId.

signCount is where the passkey’s signature counter starts. A relying party may refuse a sign-in whose counter is not above the last one it saw, as a sign of a cloned key, so a file used again and again needs save_passkeys after each sign-in to keep the counter moving, or "signCount": -1, which leaves the passkey without a counter.

The private keys sign in as the user, so the file is readable only by the user who ran Probe. Keep it out of version control and out of the files a CI run uploads, and keep a file written by hand in a secret.

Checking the console

A page can break behind what it shows, such as a click handler that throws. res.console_errors lists what the page wrote to its console as an error while the actions ran: each call of console.error, each console.assert that failed, and each exception or promise rejection nothing caught. Each has these fields:

FieldDescription
typeerror, assert or exception
textWhat the DevTools console shows. An exception’s begins with Uncaught, or Uncaught (in promise) for a rejection
url, line, columnWhere it came from, the line and the column counted from 1 as in DevTools. Empty and 0 when the browser does not say

The browser’s own messages, such as a resource that failed to load, are not among them, nor are logs and warnings. The errors are read from the page’s tab, so those of a popup, or of an iframe from another site, are not either.

To fail the step on any error, test that the list is empty:

- name: Checkout page uses: github.com/mozership/probe-browser@9d223e37dbe0af334d922a88c0e8786f7a8c2cb8 # v0.5.1 with: actions: - name: navigate url: "{{vars.url}}/checkout" - name: click selector: "#pay" - name: wait_visible selector: "#receipt" test: res.code == 0 && len(res.console_errors) == 0 echo: "{{res.console_errors}}"

When an action fails, the failure message names the first few of them, as one is often why it failed:

... context deadline exceeded (console errors: "Uncaught TypeError: Cannot read properties of null (reading 'total') (http://localhost:8090/checkout.js:42:17)") (page at failure: ...)

Keeping a screenshot

The path of the saved image is in res.filepaths, ready to print or pass on.

- name: Checkout page uses: github.com/mozership/probe-browser@9d223e37dbe0af334d922a88c0e8786f7a8c2cb8 # v0.5.1 with: window_w: 1280 window_h: 800 actions: - name: navigate url: "{{vars.url}}/checkout" - name: full_screenshot id: page test: res.code == 0 echo: "Saved {{res.filepaths.page}}"

Error Handling

An action that cannot finish makes the whole step fail with an action error, which exits the run with status 3. A selector that matches nothing is not an empty result: wait_visible, text, click and the other actions that look for an element keep waiting until the step’s timeout. A navigation fails as soon as the browser reports a network error, such as a refused connection, while an address that never answers also waits until timeout. In every case there is no res to test, and the failure message carries the browser’s error, along with the errors the page wrote to its console, as Checking the console shows.

Page at failure

When the actions fail, Probe saves the page as it was at that moment: a full-page PNG screenshot and the HTML of the document, under one shared name such as probe-browser-failure-1947177907.png and .html. The failure message names both files along with the page’s URL:

... context deadline exceeded (page at failure: url http://localhost:8090/, screenshot /tmp/probe-browser-failure-1947177907.png, html /tmp/probe-browser-failure-1947177907.html)

The same message is the failure’s message in the files --report writes. A test that evaluates to false is not an action failure, so the page is not saved then. To have it saved when a text is not the one expected, check the text with a wait_text and equals, contains, not_contains or matches rather than in test, or add a capture_screenshot action to keep the page in any case.

The files go to the system’s temporary directory unless evidence_dir names another. The directory is created when needed, which suits uploading it as a CI artifact. The page can show private data, so the files are readable only by the user who ran Probe:

- name: Checkout page uses: github.com/mozership/probe-browser@9d223e37dbe0af334d922a88c0e8786f7a8c2cb8 # v0.5.1 with: evidence_dir: out/browser actions: - name: navigate url: "{{vars.url}}/checkout" - name: wait_visible selector: "#pay"

The browser is kept for up to 10 seconds after the timeout so that the page can still be read. If it cannot be, for example because the browser never started or the page was still loading when time ran out, the message says so and nothing is saved.

Running in CI

A CI runner needs a browser and a little more time than a laptop.

  • Install Chrome or Chromium on the runner.
  • Keep headless: true, or provide a display such as Xvfb when a window is needed.
  • Chrome is started with --no-sandbox, as containers usually require, so point it only at sites you trust.
  • Give timeout room for Chrome to start, which is slower on a cold runner.
Updated at