> ## Documentation Index
> Fetch the complete documentation index at: https://docs.browseract.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Case 1: Deep Scraping from List to Detail Pages

> Master the core automation pattern of traversing search results and extracting deep data from detail pages, using Amazon as a practical example.

## 1. Case Overview

This case study demonstrates the most core pattern in web automation: **"List Traversal + Detail Page Extraction."**

The core logic involves the AI first identifying a search result list, then sequentially entering each product's detail page (secondary page) to collect more complete and deep data fields, and finally exporting them into a structured table.

This case uses **Amazon** as an example to demonstrate a complete "Search-List-Detail" scraping workflow. Please note that while Amazon is the subject, the underlying **automation logic** is universally applicable to any website with a "List Page + Detail Page" structure (e.g., recruitment, real estate, and news sites).

<img src="https://mintcdn.com/browseract/0XwKrLT2nYcpYH6a/images/Gemini_Generated_Image_rl8gq6rl8gq6rl8g.png?fit=max&auto=format&n=0XwKrLT2nYcpYH6a&q=85&s=d9b886d9c838c3153422d4c18dc2591c" alt="Gemini_Generated_Image_rl8gq6rl8gq6rl8g.png" width="2752" height="1536" data-path="images/Gemini_Generated_Image_rl8gq6rl8gq6rl8g.png" />

## 2. Detailed Steps

### 1. [Visit Page](/learn/basics/node-types/visit-node) (Open Website)

* **Objective:** Simulates opening a browser and entering a specific website address.
* **Configuration:**
  * **URL:** Enter the Amazon homepage address: `https://www.amazon.com/`.
  * **Tab:** Select **Current Tab Access** (operate within the current tab).

<img src="https://mintcdn.com/browseract/V17bz0cqPSqosazU/images/image.png?fit=max&auto=format&n=V17bz0cqPSqosazU&q=85&s=650acee13e9fb70aeb1d6bafb88d06ec" alt="image.png" width="794" height="783" data-path="images/image.png" />

### 2. [Click Element](/learn/basics/node-types/click-element-node) (Handling Random Pop-ups)

* **Objective:** Handles potential interruptions like "Continue Shopping" prompts or ads. If a pop-up appears, the AI closes it; otherwise, it ignores the step.
* **Configuration:**
  * **Where to click:** Select the close button of the interfering pop-up.
  * **Key Setting:** Under **In Abnormal Situation**, select **Ignore this node and continue execution**.
  * **Why this setting:** This instructs the AI to dismiss the pop-up if present, but proceed seamlessly if the pop-up is absent (intelligent fault tolerance).

<img src="https://mintcdn.com/browseract/-a8t3NfsGCfZ7S4S/images/PixPin_2025-12-03_20-29-55.png?fit=max&auto=format&n=-a8t3NfsGCfZ7S4S&q=85&s=c8ed41555100afcaa5cc9b867d675598" alt="PixPin_2025-12-03_20-29-55.png" width="1012" height="678" data-path="images/PixPin_2025-12-03_20-29-55.png" />

### 3. [Input Text](/learn/basics/node-types/input-text-node) (Search Keywords)

* **Objective:** Locates the search box, types the keyword, and initiates the search.
* **Configuration:**
  * **Input Location:** Select the search bar at the top of the page.
  * **Input Text:** Enter `laptop`.
  * **Key Setting:** Check **Press "Enter" after typing**. This allows the AI to automatically submit the search after typing, eliminating the need for a separate "Click Search Button" step.

<img src="https://mintcdn.com/browseract/oeqdt_yeV9gNQqjY/images/PixPin_2025-12-03_20-31-58.png?fit=max&auto=format&n=oeqdt_yeV9gNQqjY&q=85&s=e92c5838ad87dc92e969592c89b053dd" alt="PixPin_2025-12-03_20-31-58.png" width="904" height="1112" data-path="images/PixPin_2025-12-03_20-31-58.png" />

### 4. [Loop List](/learn/basics/node-types/loop-list-node) (Identify List)

* **Objective:** Identifies the collection of products to be processed, preparing the AI to iterate through them one by one.
* **Configuration:**
  * **List Range:** Select the area containing all the products.
  * **Limit:** For testing purposes, enter `10` to limit the process to the first 10 items and optimize execution time.

<img src="https://mintcdn.com/browseract/bUgTzUXeH-bCdzPx/images/PixPin_2025-12-03_20-32-54.png?fit=max&auto=format&n=bUgTzUXeH-bCdzPx&q=85&s=de5385ee20e0d7c18b6ebc398cb851d3" alt="PixPin_2025-12-03_20-32-54.png" width="1014" height="1047" data-path="images/PixPin_2025-12-03_20-32-54.png" />

### 5. [Click Element Item](/learn/basics/node-types/click-element-item-node) (Enter Detail Page)

* **Objective:** Clicks on the title of the current product within the list to navigate to its detailed view.
* **Configuration:**
  * **Note:** This step must be placed **inside** the **Loop List** node.
  * **Where to click:** Click on the product title text.

<img src="https://mintcdn.com/browseract/bUgTzUXeH-bCdzPx/images/PixPin_2025-12-03_20-33-53.png?fit=max&auto=format&n=bUgTzUXeH-bCdzPx&q=85&s=61ed882f8621037dda118b58c6a51056" alt="PixPin_2025-12-03_20-33-53.png" width="1638" height="1103" data-path="images/PixPin_2025-12-03_20-33-53.png" />

### 6. [Extract Data](/learn/basics/node-types/extract-data-node) (Copy Data)

* **Objective:** Captures specific information (such as Brand, Model, Memory) from the detail page.
* **Configuration:**
  * **What to extract:** Define the target fields (e.g., Brand, Model) and select the corresponding content on the page.

<img src="https://mintcdn.com/browseract/bUgTzUXeH-bCdzPx/images/PixPin_2025-12-03_20-34-39.png?fit=max&auto=format&n=bUgTzUXeH-bCdzPx&q=85&s=71d3f94f8f194032172d24af5bad9dc8" alt="PixPin_2025-12-03_20-34-39.png" width="1005" height="1113" data-path="images/PixPin_2025-12-03_20-34-39.png" />

### 7. Finish (Save File)

* **Objective:** Compiles the extracted data and saves it into a structured file format.
* **Configuration:**
  * **Format:** Select **CSV**, the universal standard for spreadsheet data.

<img src="https://mintcdn.com/browseract/66s-AGOC-avI5X33/images/PixPin_2025-12-03_20-35-12.png?fit=max&auto=format&n=66s-AGOC-avI5X33&q=85&s=fc3b39338e3e8145635f9f613843cca0" alt="PixPin_2025-12-03_20-35-12.png" width="1673" height="1084" data-path="images/PixPin_2025-12-03_20-35-12.png" />

## 3. Human Operation vs. AI Nodes

To help you apply this method to other websites, let's compare **Human Logic** with **AI Logic**. You will observe that the AI's process mirrors human behavior.

| **Your Action (Human Operation)**               | **Corresponding AI Node**         | **Function Description**                                                       |
| :---------------------------------------------- | :-------------------------------- | :----------------------------------------------------------------------------- |
| **Open browser**, enter URL.                    | **Visit Page**                    | The start of the task.                                                         |
| **See an ad pop-up**, close it immediately.     | **Click Element** (Set to Ignore) | "Intelligent Fault Tolerance": ignore if absent, close if present.             |
| **Type in search box**, press Enter.            | **Input Text** (Check "Enter")    | Triggers the search to find your target.                                       |
| **Look at the rows** of products on the screen. | **Loop List**                     | Tells the AI: "These identical-looking items are the list we need to process." |
| **Click the 1st title** with the mouse.         | **Click Element Item**            | Navigates from the list page to the detail page (secondary page).              |
| **Copy and paste** detailed params to Excel.    | **Extract Data**                  | The core action of scraping/grabbing data.                                     |
| **Save** the Excel file.                        | **Finish**                        | Exports data and completes the task.                                           |

### Summary

Regardless of the website you encounter in the future, as long as you want to implement a **"Search List -> Click to View Details"** workflow, simply replicate the block assembly logic outlined above.
