Skip to content

Commit 8d5b5b4

Browse files
committed
Merge pull request #15 from exu/master
Proper javascript evaluation
2 parents 397440f + 8cbbde5 commit 8d5b5b4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ browser emulator with it:
455455
456456
// evaluate JS expression:
457457
echo $session->evaluateScript(
458-
"(function(){ return 'something from browser'; })()"
458+
"return 'something from browser';"
459459
);
460460
461461
// wait for n milliseconds or

0 commit comments

Comments
 (0)