Skip to content

Instantly share code, notes, and snippets.

@gsccheng
Created October 3, 2017 01:16
Show Gist options
  • Save gsccheng/ab42f470d20920cee53ae16baab0787d to your computer and use it in GitHub Desktop.
Save gsccheng/ab42f470d20920cee53ae16baab0787d to your computer and use it in GitHub Desktop.
Working case
[17:25:22] COMMAND POST "/wd/hub/session/fff46ea8c48a6e42048a40ae98cf1216/element"
[17:25:22] DATA {"using":"css selector","value":"div.chat-form-input-container > div[contenteditable=true]"}
[17:25:25] COMMAND POST "/wd/hub/session/fff46ea8c48a6e42048a40ae98cf1216/elements"
[17:25:25] DATA {"using":"css selector","value":"div.chat-form-input-container > div[contenteditable=true]"}
[17:25:25] RESULT []
[17:25:26] COMMAND POST "/wd/hub/session/fff46ea8c48a6e42048a40ae98cf1216/elements"
[17:25:26] DATA {"using":"css selector","value":"div.chat-form-input-container > div[contenteditable=true]"}
[17:25:26] RESULT []
[17:25:26] COMMAND POST "/wd/hub/session/fff46ea8c48a6e42048a40ae98cf1216/elements"
[17:25:26] DATA {"using":"css selector","value":"div.chat-form-input-container > div[contenteditable=true]"}
[17:25:26] RESULT [{"ELEMENT":"0.7264196103819882-1"}]
[17:25:26] COMMAND GET "/wd/hub/session/fff46ea8c48a6e42048a40ae98cf1216/element/0.7264196103819882-1/enabled"
[17:25:26] DATA {}
[17:25:26] RESULT true
[17:25:26] COMMAND POST "/wd/hub/session/fff46ea8c48a6e42048a40ae98cf1216/element"
[17:25:26] DATA {"using":"css selector","value":"div.chat-form-input-container > div[contenteditable=true]"}
[17:25:26] RESULT {"ELEMENT":"0.7264196103819882-1"}
WARNING: the "moveTo" command will be depcrecated soon. Please use a different command in order to avoid failures in your test after updating WebdriverIO.
[17:25:26] COMMAND POST "/wd/hub/session/fff46ea8c48a6e42048a40ae98cf1216/moveto"
[17:25:26] DATA {"element":"0.7264196103819882-1"}
WARNING: the "buttonPress" command will be depcrecated soon. Please use a different command in order to avoid failures in your test after updating WebdriverIO.
[17:25:26] COMMAND POST "/wd/hub/session/fff46ea8c48a6e42048a40ae98cf1216/click"
[17:25:26] DATA {"button":0}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment