Bending JavaScript to your will, or why testing JavaScript in the browser can drive you crazy

A session at JSConf 2009

Saturday 25th April, 2009

1:30pm to 2:20pm (EST)

This talk will cover the previously untold story of Selenium's JavaScript internals. You'll learn how Selenium had to trick the browser's single-threaded JavaScript engine into a continuation machine to wait for things like page loads or returned Ajax messages. You'll also learn how Selenium could have used Brendan Eich's Narcissus meta-circular JavaScript interpreter to clean up the mess, and why Narcissus is just really run to play with. (Hint: You can use Narcissus as a code pre-processor to tweak JavaScript into your own little language. Want optional parens on function calls? Done!)

About the speaker

This person is speaking at this event.
Jason Huggins

Sauce Labs

Coverage of this session

Sign in to add slides, notes or videos to this session

Tell your friends!


Time 1:30pm2:20pm EST

Date Sat 25th April 2009

Short URL


Official event site


View the schedule



See something wrong?

Report an issue with this session