Airtop node#
ใช้ Airtop node เพื่อทำงานอัตโนมัติใน Airtop และผสานรวม Airtop กับแอปพลิเคชันอื่นๆ n8n มีการรองรับฟีเจอร์หลากหลายของ Airtop ในตัว ช่วยให้คุณสามารถควบคุม web browser บนคลาวด์สำหรับงานต่างๆ เช่น การ query, การ scrape, และการโต้ตอบกับหน้าเว็บ
ในหน้านี้ คุณจะพบรายการ operations ที่ Airtop node รองรับ และลิงก์ไปยังแหล่งข้อมูลเพิ่มเติม
Credentials
อ้างอิง Airtop credentials สำหรับคำแนะนำในการตั้งค่าการยืนยันตัวตน
Operations#
- Session
- Create session
- Save profile on termination
- Terminate session
- Window
- Create a new browser window
- Load URL
- Take screenshot
- Close window
- Extraction
- Query page
- Query page with pagination
- Smart scrape page
- Interaction
- Click an element
- Hover on an element
- Type
Templates and examples#
Related resources#
อ้างอิง เอกสารของ Airtop สำหรับข้อมูลเพิ่มเติมเกี่ยวกับบริการนี้
What to do if your operation isn't supported#
If this node doesn't support the operation you want to do, you can use the HTTP Request node to call the service's API.
You can use the credential you created for this service in the HTTP Request node:
- In the HTTP Request node, select Authentication > Predefined Credential Type.
- Select the service you want to connect to.
- Select your credential.
Refer to Custom API operations for more information.
ติดต่อ ฝ่ายสนับสนุนของ Airtop เพื่อขอความช่วยเหลือหรือสร้างคำขอฟีเจอร์
Node reference#
Create a session and window#
สร้าง Airtop browser session เพื่อรับ Session ID จากนั้นใช้ ID นี้เพื่อสร้างหน้าต่างเบราว์เซอร์ใหม่ หลังจากนี้ คุณสามารถใช้ operation การดึงข้อมูล (extraction) หรือการโต้ตอบ (interaction) ใดๆ ก็ได้
Extract content#
ดึงเนื้อหาจาก web browser โดยใช้ operations เหล่านี้:
- Query page: ดึงข้อมูลจากหน้าต่างปัจจุบัน
- Query page with pagination: ดึงข้อมูลจากหน้าที่มี pagination หรือ infinite scrolling
- Smart scrape page: รับเนื้อหาของหน้าต่างเป็น markdown
รับการตอบกลับเป็น JSON โดยใช้พารามิเตอร์ JSON Output Schema ใน query operations
Interacting with pages#
คลิก, วางเมาส์เหนือ (hover), หรือพิมพ์บน elements โดยอธิบาย element ที่คุณต้องการโต้ตอบด้วย
Terminate a session#
สิ้นสุด session ของคุณเพื่อประหยัดทรัพยากร Sessions จะถูกยุติโดยอัตโนมัติตาม Idle Timeout ที่ตั้งค่าไว้ใน operation Create Session หรือสามารถยุติด้วยตนเองโดยใช้ operation Terminate Session