---
title: " Close Selenium Step"
url: "https://docs.robotiq.ai/en/article/close-selenium-step"
language: "en"
last_updated: "2025-12-24T15:25:05.229Z"
---

#  Close Selenium Step

The Close Selenium Step closes an open web browser window. Use this step to end a web automation process and free up system resources.

## What You'll Need

-   A Selenium driver you've already opened using an [Open Selenium Step](https://docs.robotiq.ai/en/article/open-selenium-step).

## How to Use the Close Selenium Step

Add this step to your process to close a web browser.

### Step 1: Add the Close Selenium Step

1.  Drag and drop the **Close Selenium Step** into your process workflow.

### Step 2: Set up the Driver Reference

1.  In the step properties, find the **Driver Reference** field.
2.  Type in the name of the variable that holds your active Selenium driver. This is usually the variable that came out of an [Open Selenium Step](https://docs.robotiq.ai/en/article/open-selenium-step).

## Parameters Explained

**Step Name** (Optional)

-   A custom name for this step in your process.
-   Example: `Close Chrome Browser`
-   Use it to make your process easier to understand.

**Driver Reference** (Required)

-   The variable that holds the active Selenium web driver.
-   Example: `myBrowserDriver`
-   This tells the step which browser window to close.

## Related Articles

-   [Open Selenium Step](https://docs.robotiq.ai/en/article/open-selenium-step): Learn how to open a web browser using Selenium.
-   [Web Automation with Selenium](https://docs.robotiq.ai/en/article/web-automation-with-selenium): Understand the basics of web automation using Selenium in Robotiq.ai.

## Need Help?

Can't find what you're looking for? Join the [Robotiq Community](https://community.robotiq.ai/home/) to get help from other users and the Robotiq team.

![](https://cdn-assets.productfruits.com/bc506c2c-97ec-4483-999e-76357e7f38c9)
