driver.setJavascriptEnabled(true);
I don't think I currently expose top-level functions to make that kind of configuration simple (but I probably should). At the very least you can:
1. Grab the WebDriver instance from within clj-webdriver's Driver record (e.g., (:webdriver your-driver))
2. At that point, you can call setJavascriptEnabled using Clojure's Java interop like (.setJavascriptEnabled (:webdriver your-driver) true)
Though Clojure's data structures are immutable, like the Driver instance my API exposes, any Java objects they may reference, like the WebDriver object from Selenium's API, behave just as you'd expect on the JVM, so the above works.
--
You received this message because you are subscribed to the Google Groups "clj-webdriver" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clj-webdrive...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.