by pak · 16y ago · 0 comments
"The machine consists of a tweaked Linux server running apache2 with python modules installed. Selenium RC Control is used to automatically launch and kill browser sessions. This all driven by a single python/cgi script with some additional self-written python libraries. Each user can watch her suicide action in real-time via a VNC remote desktop session, displayed on our website via an flash applet rendered live into the client's webbrowser. We are also running some customized bash scripts plus MySQL in the background for logging and debugging, jquery/PHP for the website and a modified version of the great FlashlightVNC application built in Flex. Web2.0 Suicide Machine consists of roughly 2500 lines of self-written code."
Maybe somebody will build another website that lets you watch a video of the server browsing another website. I heard you like websites...
The major complaint people have is usually against the command arg1 arg2 grid for the scripts, but here's the thing about programming in a table: you can get your testers to do it without freaking out like "I can't learn how to program, I am bad with computer languages". The command table gives them exactly what they need--a way to repeatedly run a series of actions in a web browser--without making them learn anything more.
just kidding! What I'd like to see is this kind of code opened up so I can host it myself for fun. Writing a script to delete twitter "tweets" is easy enough in Bash but Facebook is another beast entirely :\