Module: Hokusai::Automation

Defined in:
ui/src/hokusai/automation/client.rb,
ui/src/hokusai/automation/driver.rb,
ui/src/hokusai/automation/server.rb,
ui/src/hokusai/automation/selector.rb,
ui/src/hokusai/automation/constants.rb,
ui/src/hokusai/automation/keys_transcoder.rb,
ui/src/hokusai/automation/driver_command_queue.rb,
ui/src/hokusai/automation/driver_commands/base.rb,
ui/src/hokusai/automation/driver_commands/invoke.rb,
ui/src/hokusai/automation/driver_commands/locate.rb,
ui/src/hokusai/automation/converters/selector_converter.rb,
ui/src/hokusai/automation/driver_commands/get_attribute.rb,
ui/src/hokusai/automation/driver_commands/trigger_mouse.rb,
ui/src/hokusai/automation/driver_commands/trigger_keyboard.rb

Defined Under Namespace

Modules: Converters, DriverCommands, KeysTranscoder Classes: App, Client, Driver, DriverCommandQueue, Error, Selector, Server

Constant Summary collapse

Log =
Logger.new($stdout)
CODE_TO_HML_KEY =
{
  '\0' => :null,
  '\'' => :apostrophe,
  ',' => :comma,
  '-' => :minus,
  '.' => :period,
  '\\' => :slash,
  '0' => :zero,
  '1' => :one,
  '2' => :two,
  '3' => :three,
  "4" => :four,
  '5' => :five,
  '6' => :six,
  '7' => :seven,
  '8' => :eight,
  '9' => :nine,
  ';' => :semicolon,
  '=' => :equal,
  'A' => :a,
  'B' => :b,
  'C' => :c,
  'D' => :d,
  'E' => :e,
  'F' => :f,
  'G' => :g,
  'H' => :h,
  'I' => :i,
  'J' => :j,
  'K' => :k,
  'L' => :l,
  'M' => :m,
  'N' => :n,
  'O' => :o,
  'P' => :p,
  'Q' => :q,
  'R' => :r,
  'S' => :s,
  'T' => :t,
  'U' => :u,
  'V' => :v,
  'W' => :w,
  'X' => :x,
  'Y' => :y,
  'Z' => :z,
  'a' => :a,
  'b' => :b,
  'c' => :c,
  'd' => :d,
  'e' => :e,
  'f' => :f,
  'g' => :g,
  'h' => :h,
  'i' => :i,
  'j' => :j,
  'k' => :k,
  'l' => :l,
  'm' => :m,
  'n' => :n,
  'o' => :o,
  'p' => :p,
  'q' => :q,
  'r' => :r,
  's' => :s,
  't' => :t,
  'u' => :u,
  'v' => :v,
  'w' => :w,
  'x' => :x,
  'y' => :y,
  'z' => :z,
  '[' => :left_bracket,
  '/' => :backslash,
  ']' => :right_bracket,
  '~' => :grave,
  ' ' => :space,
  '\e' => :escape,
}.merge(KeysTranscoder::KEYS.to_h { |k, v| [k, k]})