Skip to content

Commit 1444d52

Browse files
authored
Merge pull request #319 from Frnk1996/patch-1
Remove return from script() example
2 parents 8c3bc1e + 8f1c776 commit 1444d52

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

browser-testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,7 @@ $value = $page->value('input[name=email]');
992992
The `script` method executes a script in the context of the page:
993993

994994
```php
995-
$result = $page->script('return document.title');
995+
$result = $page->script('document.title');
996996
```
997997

998998
<a name="content"></a>

0 commit comments

Comments
 (0)