Get table content (web)
1. Introduction
Prerequisites: The Open new web page or Get opened web page component.
This component supports only web page tables that use the `table` tag. Note: To check if a table uses this tag, press the F12 keyboard shortcut to open the developer tools.
Use this component to retrieve table content from a page in a Chrome, Edge, or IE browser object and write the content to an Excel file.
2. Inputs
For details about each input, refer to the help information in the component panel of the visual editor.
3. Outputs
For more information about each input field, see the help text in the component panel of the application flow editor.
4. Component usage example
4.1. Configuration example
Set
Opened browser objectto v_web_obj_1, the output of the prerequisite component (Open new web page or Get opened web page).Set Browser type to Chrome.
Keep the default values for the other options.
4.2. Example result
The component successfully retrieves the content of the first table (ordinal number 1) from the specified page in Chrome and writes the content to an Excel file.
5. Example flow
Setup flow
Use the Open new web page component to open a Chrome browser and navigate to the Alibaba Cloud RPA Product Billing page.
Use the Get table content (web) component to retrieve the content of the first table in the Chrome browser.
Use the Get opened Excel component to obtain the Excel object.
Use the Activate sheet component to activate the target sheet.
Use the Write to Excel range component to write the retrieved table content to a specified area in the sheet.

Result
As shown in the following figure, the component successfully retrieves the table content from the specified website and writes it to an Excel file.