Sub Activity – Browser
It includes activities for automating web interactions, including opening, navigating, and interacting with web pages.
The Browser category has the following sub activities:
Open UserBrowser: This activity is used to directly open Chrome and retrieve the browser window with selectors.
Input Properties:
- URL: Location of the web page that needs to be opened.
- BrowserType: Select the browser type as Chrome.
- Attach Existing Window: Enable the check box to attach an existing browser window.
- Arguments: Command line arguments to be used while starting the browser instance.
Output Properties:
- UserBrowserWindow: BrowserWindow variable that stores all the information regarding the specified browser session.
Close Browser: This activity is used to close the specified browser.
Windows Properties:
- BrowserWindow: Browser window variable that holds the specified browser session that needs to be closed.
Close Tab: Closes the tab/webpage that is open in the browser.
Windows Properties:
- BrowserWindow: Browser window variable that holds the browser tab that needs to be closed.
Execute Java Script: This activity can execute a Java script code in the context of a web page.
Element Properties:
- Element: UI element variable or browser window variable which is returned by another UI activity.
Input Properties:
- Script: The code to be executed as a string.
- Arguments: Input parameters to be passed between the script and robot.
Output Properties:
- Result: It will be the formatted output of the JavaScript execution, which can be a primitive value, a dictionary, a list, or a wrapped Selenium if a DOM element is returned.
Go Back: This activity is used to go back to the specified browser’s history list.
Windows Properties:
- BrowserWindow: BrowserWindow variable which holds the browser to which it should go back.
Go Forward: This activity is used to go forward to the specified browser’s history list.
Windows Properties:
- BrowserWindow: BrowserWindow variable which holds the browser to which it should go forward.
Navigate To: This activity is used to direct the browser to a specified URL.
Windows Properties:
- BrowserWindow: BrowserWindow variable which holds the current browser Session.
Input Properties:
- URL: Location of the web page to which it should navigate.
Open Browser: This activity is used to Open a browser from different browser types at a defined URL and perform multiple actions within it.
Options Properties:
- Headless Mode: Headless browser is a tool used for automations where the visible UI shell is not required.
- Auto Download Driver: Automatically downloads the required web driver for web automation.
Input Properties:
- URL: Location of the web page that needs to be opened.
- BrowserType: Select the browser type (Chrome/Edge IE Mode/ MS Edge/ Mozilla Firefox/Internet Explorer/) Default browser is Chrome.
- Preferences: The preferences for the browser instance.
- Capabilities: Browser configuration prior to open.
- Arguments: Command line arguments to be used while starting the browser instance.
Output Properties:
- BrowserWindow: BrowserWindow variable that stores all the information regarding the specified browser session.
New Window: This activity creates a new window or tab in a browser window.
Windows Properties:
- BrowserWindow: Browser window variable that holds the specified browser session which needs to be openned as a new window.
Input Properties:
- WindowType: The type of window in which the browser session needs to be opened.
Refresh: This activity reloads the webpage of the browser that is specified in the input of the browser properties.
Input Properties:
- BrowserWindow: BrowserWindow variable which holds the current browser Session that needs to be reloaded.
Set Web Attribute: This activity sets the value of the attribute of an element in the webpage.
Input Properties:
- AttributeName: Name of attribute that needs to be changed.
- Value: The value assigned to an attribute.
Switch Tab: This activity allows user to switch active tabs in the browser.
Windows Properties:
- BrowserWindow: BrowserWindow variable which holds the current browser Session.
Input Properties:
- Title: Title of the tab to which It should be switched.