You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since Java 8 any Java distribution comes with a complete Webkit inside it as part of JFX. (docs)
It would be fantastic to have support for that in doo, since it would give people a complete headless browser without having to install anything extra.
The Sparkledriver library already provides a nice Clojure interface.
I might get to this myself, but I'm not familiar with the doo sources, and it might be a while before I find the time, so just leaving this here in case someone else wants to tackle this.
The text was updated successfully, but these errors were encountered:
Running some JS code with SparkleDriver looks like this
(require '[sparkledriver.core :refer [with-browser make-browser]])
(with-browser [browser (make-browser)]
;; needs a DOM loaded to work, data uri for <html></html>
(fetch! browser "data:text/html;charset=utf-8;base64,PGh0bWw+PC9odG1sPg==")
(.executeScript browser (slurp"file-path") (into-array String []))
Since Java 8 any Java distribution comes with a complete Webkit inside it as part of JFX. (docs)
It would be fantastic to have support for that in doo, since it would give people a complete headless browser without having to install anything extra.
The Sparkledriver library already provides a nice Clojure interface.
I might get to this myself, but I'm not familiar with the doo sources, and it might be a while before I find the time, so just leaving this here in case someone else wants to tackle this.
The text was updated successfully, but these errors were encountered: