Close browser Version 10 (Java)
Action group: Browsers
Description
This action closes the browser. When the browser is closed, the context is closed.
Action icon

Settings of parameters
Property | Description | Type | Filling example | Mandatory field |
Parameters |
Context | Action context for working with the browser | Robin.Selenium | Browser context | Yes |
Special conditions of use
None.
Example of use
Task
Go to the bankrupcy information website https://old.bankrot.fedresurs.ru/DebtorsSearch.aspx , fill in the "CODE" field with a value less than 8 characters and click on the "OK" button in the window that appears, then close the browser.

Solution
Use the "Open browser", "Navigate", "Send text", Send click", "Close browser" actions.
Implementation
- Assemble a robot scheme with the actions.

- Set the "Open browser" action parameter.

- Set the "Navigate" action parameters.

- Set the "Send text" action parameters. Use the WebSpy tool to create an element (see section Create Web-elements) and write the "Code" field.

- Set the "Send click" action parameters. Use the WebSpy tool to create the element (see section Create Web-elements) and write the "Search" button.

- Set the "Close browser" action parameter.

- Click "Start" in the top panel.
Result
The program robot completed successfully.
