# Using keyboard shortcuts

## Overview

To make it easier to work around the recording action, we have added keyboard shortcuts that can be used during test recording. This should make it easier to switch between different options within the BugBug test ecorder.

{% hint style="info" %}
Generally, the shortcut *number* represents the button position for each option.
{% endhint %}

![BugBug Recorder](/files/nod0duN6kqEPzxEyxuPp)<br>

## Possible uses and combinations of keyboard shortcuts

{% hint style="info" %}
This description and keyboard shortcuts are based on a **Windows and Linux** operating system.

If you are using a different operating system, please note that you will need to use an appropriate related shortcut, e.g. for **MacOS** users use i.e. ***"Control + Option + ${key}"***.&#x20;

However, in BugBug Recorder we display shortcuts that are adapted to the system you are working on.
{% endhint %}

| Shortcut combination | Feature           | Comments                                                                                                                                                                                                                                                                                                                        |
| -------------------- | ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Ctrl + Alt + 1**   | *Add assert*      | If *"Add Assert"* mode is enabled and you use the shortcut again, it will be disabled.                                                                                                                                                                                                                                          |
| **Ctrl + Alt + 2**   | *Add hover*       | As before, using the shortcut again will disable this mode.                                                                                                                                                                                                                                                                     |
| **Ctrl + Alt + 3**   | *Inbox*           | It will show you the "*Open Inbox for a special test email address"* view with realted options.                                                                                                                                                                                                                                 |
| **Ctrl + Alt + 4**   | *Variables*       | It will show you the "*Variables"* view with realted options.                                                                                                                                                                                                                                                                   |
| **Ctrl + Alt + 5**   | *Pause recording* | <p>This will bring up the "<em>Pause recording"</em> view with its associated options.<br><br>While you are in this view, you can alternatively use two other shortcuts:<br>\* <strong>Ctrl + Alt + 1</strong> to resume recording<br>\* <strong>Ctrl + Alt + 2</strong> that will finish and close your recording session.</p> |
| **Ctrl + Alt + 6**   | Finish and close  | It will end and close your recording session.                                                                                                                                                                                                                                                                                   |

##

## Workflow tips

Some of the shortcuts are also available in the BugBug Runner view, so you can use them there as well.

Meaning:

* **Ctrl + Alt + 1** to start recording additional steps
* **Ctrl + Alt + 2** to finish the test and close the window

<figure><img src="/files/MMyJnHEMXjQUe108jQBr" alt=""><figcaption><p>BugBug Runner</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bugbug.io/recording-tests-steps/using-keyboard-shortcuts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
