@steveholt04 I found this issue about it: https://github.com/clj-commons/etaoin/issues/355
Cool! I think I’ll add a section to docs with some execute examples.
Another handy use of execute I recently discovered is supporting https://github.com/clj-commons/etaoin/issues/359#issuecomment-1121422096 (on Chrome anyway).
@borkdude I feel no library is complete without a clj-kondo export config simple_smile (well the ones that would benefit from one anyway). When you have the time and interest, would you be so kind to add any thoughts/advice to https://github.com/clj-commons/etaoin/issues/413?
@lee I'm trying to improve the macroexpand hook, see: https://github.com/clj-kondo/clj-kondo/issues/1701#issuecomment-1133222340
it's not clear to me which macros beyond those with B need extra help from hooks?
I will continue in the issue
That looks like a base64-encoded string to me
@steveholt04 You can probably decode that as follows:
(def bytes (-> (java.util.Base64/getDecoder) (.decode base64-string)))
And then write to disk using:
(io/copy bytes (io/file "/tmp/file.pdf"))Note that you first have to decode the base64 and do not write it directly to a pdf file, that doesn't work