Skip to content

Commit 8cbbde5

Browse files
committed
to get result we need to return something
1 parent 397440f commit 8cbbde5

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)