Update sample based on feedback in PR

* Use `->clickLink(...);` instead of `findLink(...)->click()`
* Use `echo ... . PHP_EOL;` instead of printf("%s\n", ...)`