Guest User

Untitled

a guest
May 11th, 2023
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. (ql:quickload :cl-selenium)
  2.  
  3. (defpackage my-test
  4. (:use :cl :cl-selenium)
  5. (:import-from :cl-selenium-utils
  6. :send-keys
  7. :click
  8. :wait-for
  9. :classlist))
  10.  
  11. (in-package my-test)
  12.  
  13. (cl-selenium:start-interactive-session)
  14.  
  15. (setf (url) "https://www.newyorkfed.org/markets/soma-holdings")
  16.  
  17. (nth 17 (cl-selenium:find-elements "td" :by :css-selector))
  18. => #<cl-selenium::element {id:686556D87F03C3792375283E75DD5392_element_625} id=>
  19.  
  20. (describe *)
  21.  
  22. =>
  23. #<error printing a CL-SELENIUM::ELEMENT: [PROTOCOL-ERROR]..
  24. [standard-object]
  25.  
  26. Slots with :INSTANCE allocation:
  27. ID = "686556D87F03C3792375283E75DD5392_element_625"
  28. ; No values
  29.  
  30.  
Add Comment
Please, Sign In to add comment