[cl-selenium-devel] Problems with cl-selenium, Drakma, and nasty JavaScript

Robin Lee Powell rlpowell at digitalkingdom.org
Tue Jul 1 16:14:25 UTC 2008


On Tue, Jul 01, 2008 at 02:04:26AM -0500, Matthew Kennedy wrote:
> It looks like we were doing our own URL encoding in CL-Selenium so
> I've changed the code to let Drakma do it (which is the correct
> place to do it anyway).  Now it should work correctly in every
> case.
> 
> CL-USER> (let* ((selenium:*selenium-driver-url*
> "http://localhost:4444/selenium-server/driver")
> 		(selenium:*selenium-session* (selenium:do-get-new-browser-session
> 						 "*opera" "http://www.google.com")))
> 	   (selenium:do-open "http://www.google.com/webhp?hl=en")
> 	   (print (selenium:do-get-eval "\"Hello, \" + \"JavaScript!\""))
> 	   (selenium:do-test-complete))
> 
> "Hello, JavaScript!"
> NIL
> 
> I've created a new 0.3 release which includes the fix.
> http://common-lisp.net/project/cl-selenium/releases/cl-selenium-0.3.tar.gz

*Wow*!  Props for the fast response!  I can't test this until later
today, but I just wanted to say thanks!

-Robin



More information about the cl-selenium-devel mailing list