This repository was archived by the owner on Jul 14, 2019. It is now read-only.
This repository was archived by the owner on Jul 14, 2019. It is now read-only.
customCommand not working due to invalid Native code #9
Open
Description
Hello!
I've tried to use customCommand
, but it doesn't work, I noticed that an elm list end up being passed to the called function, i'm getting an error like this:
number or type of arguments don't agree with keys protocol command, value: {"ctor":"::","_0":"Escape","_1":{"ctor":"[]"}}
the problem is in this line: https://github.com/lorenzo/elm-webdriver/blob/master/src/Native/Webdriver.js#L395
we should convert it to a javascript array and use apply instead of call to execute the functions
Metadata
Metadata
Assignees
Labels
No labels