basic-navigation Scenario 1 — Extract All Product Titles
Written by RTILA X Engineering Team
What You'll Learn
Extract product titles using CSS selectors and datasets
Real-World Use Case
Scraping an e-commerce product grid
Product Grid
A static product grid containing eight product cards with stable selectors.
Wireless Noise-Cancelling Headphones
ElectronicsPremium over-ear headphones with active noise cancellation and 30-hour battery life.
4K Ultra HD Monitor
Electronics32-inch 4K UHD display with 95% DCI-P3 coverage and USB-C hub.
Mechanical Gaming Keyboard
ElectronicsHot-swappable mechanical keyboard with per-key RGB and aluminum frame.
USB-C Docking Station
Electronics12-in-1 hub with dual HDMI, SD card slots, Ethernet, and 100W power delivery.
Portable SSD 1TB
ElectronicsPocket-sized solid state drive with 1050 MB/s read speeds and shock resistance.
Smart Home Hub
ElectronicsCentralized smart home controller compatible with Zigbee, Z-Wave, and Wi-Fi devices.
Wireless Charging Pad
Electronics15W fast wireless charging pad with slim aluminum design and LED indicator.
Bluetooth Speaker
ElectronicsWaterproof portable speaker with 360° sound and 20-hour battery.
Extracted Product Titles
| title |
|---|
| Wireless Noise-Cancelling Headphones |
| 4K Ultra HD Monitor |
| Mechanical Gaming Keyboard |
| USB-C Docking Station |
| Portable SSD 1TB |
| Smart Home Hub |
| Wireless Charging Pad |
| Bluetooth Speaker |
RTILA X Automation Project
{
"name": "Extract_Product_Titles",
"settings": {
"urls": [
"https://learn.rtila.com/scenarios/basic-navigation/1"
],
"headless": false,
"navigation_timeout": 30000,
"max_concurrent_workers": 1,
"humanoidEnabled": true,
"humanoidSensitivity": "medium"
},
"datasets": {
"products": {
"item_selector": "css=div.product-card",
"properties": [
{
"name": "title",
"type": "text",
"selector": "css=h3.product-name"
}
]
}
},
"commands": [
{
"command": "goto",
"params": {
"url": "https://learn.rtila.com/scenarios/basic-navigation/1"
}
},
{
"command": "wait_for_selector",
"params": {
"selector": "css=div.product-card"
}
},
{
"command": "extract_data",
"params": {
"dataset": "products"
}
}
]
}
RTILA X Concepts
This scenario demonstrates CSS selectors and the text extraction type. The dataset
uses item_selector to identify repeating cards and a single
text property to read the product name from each card.
Did you complete this scenario?
Ready to run this automation?
Copy the project JSON above, open RTILA X, create a new project, and paste it.
This scenario covers 3 RTILA X commands and is referenced in 2 learning articles.
Continue Learning
Was this helpful?
Thank you for your feedback!