Skip to content

feat: add 18 new automation features (mimimax 2.5) - #11

Closed
chhot2u wants to merge 1 commit into
mainfrom
mimimax-2-5
Closed

chhot2u wants to merge 1 commit into
mainfrom
mimimax-2-5

Conversation

@chhot2u

@chhot2u chhot2u commented Mar 18, 2026

Copy link
Copy Markdown
Owner

Summary

This PR adds 18 new automation features to FlowPilot, significantly expanding its capabilities for browser automation.

Features Implemented

Phase 1: Control Flow Enhancements

  • While loops: Conditional loops with max loop limits
  • Advanced conditionals: , , ,
  • Try/catch blocks: Error handling with , ,
  • Variable manipulation: , ,

Phase 2: Element Interaction

  • Drag and drop: for drag operations
  • Hover actions: for mouse hover simulation
  • Right-click: for browser context menus
  • Element highlighting: for visual debugging
  • Dropdown selection: for random/sequential dropdown picking

Phase 3: Browser Storage & Downloads

  • File downloads: for download monitoring
  • Cookie management: , ,
  • Storage management: , ,

Phase 4: Debugging & Monitoring

  • Debug actions: , ,

Phase 5: Scheduling & Import/Export

  • Task export: - export a single task as JSON
  • Task import: - import a task from JSON
  • Flow export: - export a recorded flow
  • Flow import: - import a flow from JSON

Phase 6: Headless Browser Support

  • Headless mode: action for true headless execution

Files Changed

    • Added 30+ new action constants
    • Implemented all action handlers
    • Updated action list
    • Updated action list
    • New file for export/import functionality

Testing

All Go tests pass successfully.

Co-authored-by: root root@runnervm46oaq.a5g1u2byxn5urdckd2fxriyksh.cx.internal.cloudapp.net

Features implemented:
- Control Flow: while loops, advanced conditionals (if_exists, if_not_exists, if_visible, if_enabled), try/catch blocks
- Variable Manipulation: set, math, string operations
- Element Interaction: drag_drop, hover, context_click, highlight, select_random
- Browser Storage: get/set/delete cookies, localStorage, sessionStorage
- Debugging: debug_pause, debug_resume, debug_step
- Export/Import: task and flow export/import functions
- Headless Support: headless action

Changes:
- internal/models/task.go: Added 30+ new action constants and task structs
- internal/browser/steps.go: Implemented all action handlers
- frontend/src/components/CreateTaskModal.svelte: Updated action list
- frontend/src/components/TaskDetail.svelte: Updated action list
- app_flow_io.go: New file for export/import functionality
@chhot2u

chhot2u commented Mar 18, 2026

Copy link
Copy Markdown
Owner Author

PR closed as requested

@chhot2u chhot2u closed this Mar 18, 2026
chhot2u pushed a commit that referenced this pull request Apr 2, 2026
- Remove duplicate package internal/logs/logs/ (#1)
- Fix recorder race condition: add mutex lock to Stop() (#2)
- Fix config reload TOCTOU race: atomic read+write under single configMu (#3)
- Fix captcha error silently discarded: handle non-ErrNoRows errors (#4)
- Fix store error clearing bug: use ?? instead of || (#5)
- Fix task lifecycle event type mismatch: make batchId/error optional (#6)
- Fix proxy health check empty protocol: default to http (#7)
- Fix weak randomness in selectRandom: use rand.Intn() (#8)
- Fix browser context leak in pool createBrowser (#9)
- Fix HTTP client created per webhook: move to package level (#10)
- Add TODO comments for context.Background() in proxy manager (#11)

All checks pass: go build, go vet, go test -race, npm check, npm test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant