HARPA.AI
LIBRARYAPIGUIDESAI COMMANDSBLOG

👤  Utdij_kalkulator

HI

Created by Péter András Vonyó
Updated on Oct 11, 13:58
Installed 1 time

How to Use

IMPORT COMMAND

Content

- type: clear
- type: ask
  param: p1
  message: Add meg az első várost
  options: null
  default: ''
  vision:
    enabled: false
    mode: area
    hint: ''
    send: true
- type: ask
  param: p2
  message: 'Add meg a második várost:'
  options: null
  default: ''
  vision:
    enabled: false
    mode: area
    hint: ''
    send: true
- type: navigate
  url: https://utdijkalkulacio.hu/
  waitForIdle: true
  silent: false
  onFailure: ''
- type: click
  selectorType: ai
  selector:
    - $matches:
        - $tag: INPUT
        - $role: textbox
        - $id: input-31
        - $attribute: type=text
        - $attribute: autocomplete=off
        - $attribute: data-last-active-input
        - $style: Roboto:16px:400:normal
        - $role: combobox
          traverse: '1:1'
        - $class: v-autocomplete
          traverse: '0:0:1:1'
        - $class: waypoints
          traverse: '0:1:0:0:1:0:0:0:1:1'
        - $class: v-navigation-drawer__content
          traverse: '1:0:1:0:0:1:0:0:0:1:1'
        - $role: complementary
          traverse: '0:1:0:1:0:0:1:0:0:0:1:1'
        - $anchor: Tervezési beállítások
          shift: 12:-46
        - $text: Tervezési beállítások
          traverse: '-3:1:0:1:0:0:1:0:0:0:1:1'
        - $anchor: CĂ­mpontok
          shift: '12:55'
        - $text: CĂ­mpontok
          traverse: '-4:1:0:0:1:0:0:0:1:1'
        - $anchor: Díjtáblázat érvényessége
          shift: 0:-85
        - $text: Díjtáblázat érvényessége
          traverse: '-12:1:0:1:0:0:1:0:0:0:1:1'
      min: 6
    - $size: 1
  item:
    type: element
    container:
      __$ht: element
      id: 0
    value: Element
- type: paste
  text: '{{p1}}'
  mode: null
  selectorType: ai
  lastKey: Enter
  selector: null
  item: null
- type: wait
  for: idle
  timeout: 150000
- type: paste
  text: ''
  mode: null
  selectorType: ai
  lastKey: Enter
  selector: null
  item: null
- type: wait
  for: idle
  timeout: 150000
- type: click
  selectorType: ai
  selector:
    - $matches:
        - $tag: INPUT
        - $role: textbox
        - $id: input-31
        - $attribute: type=text
        - $attribute: autocomplete=off
        - $attribute: data-last-active-input
        - $style: Roboto:16px:400:normal
        - $role: combobox
          traverse: '1:1'
        - $class: v-input--is-focused
          traverse: '0:0:1:1'
        - $class: v-autocomplete
          traverse: '0:0:1:1'
        - $class: waypoints
          traverse: '0:1:0:0:1:0:0:0:1:1'
        - $class: v-navigation-drawer__content
          traverse: '1:0:1:0:0:1:0:0:0:1:1'
        - $anchor: Budapest
          shift: '-1:47'
        - $text: Budapest
          traverse: '-5:1:0:0:0:1:1'
        - $anchor: Tervezési beállítások
          shift: 12:-46
        - $text: Tervezési beállítások
          traverse: '-3:1:0:1:0:0:1:0:0:0:1:1'
        - $anchor: Díjtáblázat érvényessége
          shift: 0:-85
        - $text: Díjtáblázat érvényessége
          traverse: '-12:1:0:1:0:0:1:0:0:0:1:1'
      min: 6
    - $size: 1
  item:
    type: element
    container:
      __$ht: element
      id: 1
    value: Element
- type: paste
  text: '{{p2}}'
  mode: null
  selectorType: ai
  lastKey: Enter
  selector: null
  item: null
- type: wait
  for: idle
  timeout: 15000
- type: paste
  text: ''
  mode: null
  selectorType: ai
  lastKey: Enter
  selector: null
  item: null
- type: wait
  for: idle
  timeout: 15000
- type: extract
  selectorType: ai
  selector:
    - $matches:
        - $tag: DIV
        - $class: d-flex
        - $class: justify-end
        - $class: col
        - $style: Roboto:20px:500:normal
        - $content: '{{data}} Ft'
        - $class: text-h6
          traverse: '1'
        - $class: price-details
          traverse: '0:0:3:1'
        - $class: pl-2
          traverse: '0:0:3:1'
        - $class: amber
          traverse: '1:0:0:3:1'
        - $class: route-results
          traverse: '0:1:0:0:3:1'
        - $anchor: 'Bruttó összesen:'
          shift: '171:0'
        - $text: 'Bruttó összesen:'
          traverse: '-1:1'
        - $anchor: 'Külsőköltség-díj:'
          shift: '171:49'
        - $text: 'Külsőköltség-díj:'
          traverse: '-2:3:1'
        - $anchor: 'InfrastruktĂşra dĂ­j:'
          shift: '171:85'
        - $text: 'InfrastruktĂşra dĂ­j:'
          traverse: '-2:3:1'
      min: 6
    - $size: 1
    - $parse: number
      at: 0
  item:
    type: number
    value: 33114
    content: 33 114
    index: 0
    context: 33 114 Ft
    container:
      __$ht: element
      id: 1
    at: 0
  param: price
  default: ''
- type: say
  message: 'Az Ăşt dĂ­ja: {{price}}'
Notice: Please read before using

This automation command is created by a community member. HARPA AI team does not audit community commands.

Please review the command carefully and only install if you trust the creator.

Contact us
HomeUse CasesGuidesPrivacy PolicyTerms of Service
CAN WE STORE COOKIES?
Our website uses cookies for the purposes of accessibility and security. They also allow us to gather statistics in order to improve the website for you. More info: Privacy Policy