Skip to content

You are viewing documentation for Instruqt 2.0 Labs. For Tracks documentation, please visit docs.instruqt.com.

Web Browser Tabs


Web Browser tabs embed a full virtual browser in your lab interface, pointed at a URL you control. Unlike an External Website tab, which embeds a page in an iframe, the Web Browser tab runs an actual browser instance for users to interact with, so it works with sites that block iframe embedding and supports interactions an iframe can’t, such as copy and paste.

To create a Web Browser tab:

  1. Navigate to the Tabs section in your lab editor
  2. Click Add Tab and select Web Browser from the dropdown
  3. Configure the URL to load
FieldRequiredDescription
Name (internal)✓Used for internal reference. Not visible to end users
URL✓The web address to display in the embedded browser
BrowserThe browser engine to use. Currently only chromium is supported
Show address barShow the current page URL above the browser (default: true)
Show zoom controlsShow the zoom control above the browser (default: true)
Show home buttonShow the home button above the browser (default: true)
Show refresh buttonShow the refresh button above the browser (default: true)
Home button URLWhere the home button takes users. Does not change the page the tab opens on. Defaults to the tab’s URL
ZoomThe zoom level the browser starts at, as a whole percentage from 50 to 200 (default: 100)

By default, a slim toolbar sits above the browser:

  • Home and Refresh (far left): Home takes users to the page the tab opened on, unless Home button URL names a different one. Refresh reloads whatever page the browser is currently on.
  • Address bar: shows the URL of the page the browser is currently on. It is read-only, so users can’t navigate from it, but they can select the text or click the copy button to copy the URL.
  • Zoom control (right): shows the current zoom level between a minus and a plus button. Users click the buttons to zoom out or in, or click the percentage to type an exact value and press Enter. Zoom ranges from 50% to 200%.

The two buttons do different things. Home navigates away to a fixed address, while Refresh re-fetches the page where the user already is. Use Home to give users a way back when they have navigated somewhere unexpected, and Refresh for pages that don’t update on their own.

Zoom changes how the page is rendered inside the browser, so the page reflows to fit rather than the image being scaled. A user’s zoom level stays the same as they move between pages for the rest of their session.

Each part is turned off independently with Show home button, Show refresh button, Show address bar and Show zoom controls. The toolbar stays as long as one of them is on. Only when all four are off is the toolbar removed and the browser fills the whole tab.

Use Zoom to set the level the browser starts at, for example 125 to make small text easier to read. Users can still change it during the session with the zoom control, or with Cmd+Plus, Cmd+Minus and Cmd+0 (macOS) or Ctrl+Plus, Ctrl+Minus and Ctrl+0, which keep working when the zoom control is turned off. The keyboard shortcuts work on a best effort basis in Safari and Firefox, which can zoom the whole page instead. Use the zoom control in those browsers.

For detailed HCL reference information, see the Web Browser Reference.