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.
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
- Drag and drop the Close Selenium Step into your process workflow.
Step 2: Set up the Driver Reference
- In the step properties, find the Driver Reference field.
- 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.
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: Learn how to open a web browser using Selenium.
- 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 to get help from other users and the Robotiq team.