Small fix for non-standard message
This commit is contained in:
parent
fb36efdc5e
commit
d056622e43
|
@ -49,7 +49,7 @@ WDElement >> attribute: attr [
|
|||
WDElement >> attributes [
|
||||
| script result |
|
||||
script := 'var items = {}; for (index = 0; index < arguments[0].attributes.length; ++index) { items[arguments[0].attributes[index].name] = arguments[0].attributes[index].value }; return items;'.
|
||||
result := driver sendWithSession: { #script -> script }
|
||||
result := driver sendWithSession: { #script -> script . #args -> { 'element-6066-11e4-a52e-4f735466cecf' -> element } asDictionary }
|
||||
to: 'element/' , element , '/execute/sync'
|
||||
using: #POST.
|
||||
^ result.
|
||||
|
|
Loading…
Reference in New Issue