Action group: Browsers
Description
The action closes the selected tab.
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Context | Action context for working with the browser | Robin.Selenium | Browser context | Yes |
Tab index | Tab index | Robin.Numeric | No | |
Tab title | Tab name | Robin.String | No | |
Match type | The type of text to match with the title. Strict - the title is equal to the «Text» parameter. Not strict - the title contains the «Text» parameter. Regular Expression - The title matches the regular expression in the «Text» parameter. | Robin.String | No |
Comparison of text when a tab is selected is case-insensitive.
If there is only one tab - System closes the browser.
Open browser and follow the link https://bankrot.cdtrf.ru//public/i/miregister.aspx, next open the page https://dzen.ru/?clid=2337508-193&from=dist_bookmark&win=381&yredirect=true in a new tab. After that close the second tab, leaving only the first one open.
Use the "Open browser", "Navigate", "Navigate", "Close tab" actions.
Result
The program robot completed successfully. The second tab is closed.