Skip to content

Instantly share code, notes, and snippets.

@lgandecki
Created August 18, 2017 09:48
Show Gist options
  • Save lgandecki/e2d25208c298af500c6c785f1e49da44 to your computer and use it in GitHub Desktop.
Save lgandecki/e2d25208c298af500c6c785f1e49da44 to your computer and use it in GitHub Desktop.
element not actionable
> browser.element("input").then(function(e) { console.log("my e", e) })
my e { sessionId: '8e489f2907be6c86c9a894f014d3f382',
status: 0,
value:
{ ELEMENT: '0.15292583427943218-1',
'element-6066-11e4-a52e-4f735466cecf': '0.15292583427943218-1' },
selector: 'input' }
> browser.element("input").then(function(e) { e.click() })
Thrown: Error: e.click is not a function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment