> For the complete documentation index, see [llms.txt](https://docs.goless.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.goless.com/blocks/browser/active-tab-block.md).

# Active Tab Block

<figure><img src="https://742850480-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmtnl2J19CnNVA5fLFAPs%2Fuploads%2Ft0ri0GdkdEpO31OW8qJH%2FActive%20Tab.png?alt=media&amp;token=8fc36989-6b3b-45d2-872f-1962c61fb46a" alt=""><figcaption></figcaption></figure>

Set your current tab as an **active tab**. The active tab here means a tab where the block requires a tab like a take screenshot block will execute.

For instance, when you run a JS code on a current website or make a screenshot, you can use the active tab before connecting others (like the *take a screenshot* or *javascript code* block).

<figure><img src="https://742850480-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmtnl2J19CnNVA5fLFAPs%2Fuploads%2FXswFoiEKZFZysf3eqqU1%2FActive%20Tab.jpg?alt=media&amp;token=b0b6ea67-f7cb-4776-a6e1-dea8c3cec302" alt=""><figcaption></figcaption></figure>
