           (= "active-el-input")
           is))))
 
-;; (deftest test-element-text
-;;   (with-text "//*[@id='element-text']" text
-;;     (is (= text "Element text goes here."))))
-
-;; (deftest test-element-value
-;;   (when-chrome
-;;       (with-value "//*[@id='element-value']" value
-;;         (is (= value "value text")))))
+(deftest test-element-text
+  (let [text (get-element-text *driver* {:id :element-text})]
+    (is (= text "Element text goes here."))))
 
 ;; (deftest test-cookies
 ;;   (testing "getting all cookies"

;;     (with-cookies cookies
;;       (is (= cookies [])))))

;; (deftest test-page-source
;;   (let-source src
;;     (when-firefox
;;         (is (str/starts-with? src "<html><head>")))
;;     (skip-firefox
;;         (is (str/starts-with? src "<!DOCTYPE html>")))))

;; (deftest test-element-properties
;;   (when-firefox

;;                (is (= innerHTML "<div>Inner HTML</div>"))
;;                (is (= tagName "DIV")))))

(deftest test-screenshot
  (with-tmp-file "screenshot" ".png" path
    (screenshot *driver* path)
    (-> path
        io/file
        ImageIO/read
        is)))

;; (deftest test-js-execute
;;   (testing "simple result"
