Closed juba closed 5 years ago
I fixed the issue. The only mean for reusing the previous result is by using a formula:
gd %>% DOM.getOuterHTML(nodeId = ~ .res$root$nodeId)
or
gd %>% DOM.getOuterHTML(nodeId = ~ .$root$nodeId)
I can confirm it's fixed for me too. Thanks a lot !
For reference, I build on this example to test my search on second API based on EventEmitter without promise (see #28) https://gist.github.com/cderv/67d7ad8998559f2ce14b4eb4bb852fd1
The following code aims to dump the DOM of a web page :
But it fails at
DOM.getOuterHTML(nodeId = .$result$root$nodeId)
withError: Invalid parameters(code -32602)
It does work when giving a
nodeId
directly :And the
.$result$root$nodeId
value is correct :