Gemlogin Việt Nam
  • Bắt đầu
  • Giới thiệu
  • Bắt đầu nhanh
  • Quy trình tự động
    • Tổng quan
    • Bắt đầu quy trình
    • Khối
    • Dữ liệu chung
    • Bảng
    • Biến
    • Bảng và Biến
    • Biểu thức
    • Vòng lặp
  • Khối
    • General
      • Start
      • End
      • Cmd
      • Image Search
      • Resource Status
      • Delay
      • HTTP Request
      • Browser Request
      • Block Group
      • Clipboard
      • Wait Connections
      • Note
      • Workflow state
      • Switch Extension Popup - Doing
    • Browser
      • Open URL
      • Emulate
      • Network Toggle
      • Switch Tab
      • Go Back
      • Go Forward
      • Close Tab/Window
      • Take Screenshot
      • Handle Dialog
      • Reload tab
      • Get Tab URL
      • Get Info Tabs
      • Cookie
    • Web Interaction
      • Mouse Click
      • Mouse Move
      • Find Text(OCR)
      • Get text
      • Scroll Element
      • Link - doing
      • Attribute Value
      • Input Text
      • Javascript Code
      • Switch Frame
      • Upload File
      • Hover Element - Doing
      • Save Assets
      • Presskey
      • Create Element
    • Data
      • Random
      • Gemini AI
      • Chat GPT
      • DeepSeek AI
      • Blackbox AI
      • Insert Data
      • Delete Data
      • Get Log Data
      • Slice Variable
      • Increase Variable
      • RegEx Variable
      • Data Mapping
      • Split Data
      • Sort Data
    • Control flow
      • Repeat Task
      • Conditions
      • Element Exists
      • While Loop - Doing
      • Loop Data
      • Loop Breakpoint
    • Online services
      • Read File Text
      • Excel
      • Google Sheets
      • File Action
      • IMAP (Read Mail)
  • Tài liệu API
    • Danh sách profiles
    • Lấy thông tin profile
    • Tạo profile
    • Mở profile
    • Đóng profile
    • Cập nhật profile
    • Xóa profile
    • Danh sách nhóm
Powered by GitBook
On this page
  1. Khối
  2. Web Interaction

Upload File

Tải lên file vào đối tượng <input type="file">.

PreviousSwitch FrameNextHover Element - Doing

Last updated 10 months ago

  • Bộ chọn phần tử cho phần tử <input type="file">.

  • Thêm đường dẫn file tin Đường dẫn tuyệt đối, URL hoặc base64 của file cần tải lên. Ví dụ

    • Đường dẫn tuyệt đối

      • Windows: C:\Users\Public\Documents\testing.docx

      • MacOS: /Users/Josh/Desktop/docs.pdf

    • URL

      • https://example.com/files/document.pdf

      • https://example.com/words.txt

    • Base64 Để tải lên tập tin được mã hóa, bạn phải tuân theo định dạng này. filename|file mime|base64

      • landscape.png|image/png|data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAB4AA...

      • my file.json|application/json|eyJleHRWZXJzaW9uIjoiMS4xNi4yIiwibmFtZSI6...

Bộ Chọn
base64