Update casper.rst

Trying to fix the example code for changing the user-agent. 
Current example doesn't work.