Commit fa6616c3 fa6616c3d2eec903c578c2092a32614926d6558f by shekyan

Update casper.rst

Trying to fix the example code for changing the user-agent. 
Current example doesn't work.
1 parent 85bf42f3
......@@ -1847,10 +1847,9 @@ Sets the `User-Agent string <http://en.wikipedia.org/wiki/User-Agent>`_ to send
casper.thenOpen('http://google.com/', function() {
this.echo("I'm a Mac.");
casper.userAgent('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)');
});
casper.userAgent('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)');
casper.thenOpen('http://google.com/', function() {
this.echo("I'm a PC.");
});
......