Codeception, Javascript and Laravel Homestead

Tutorials

July 23rd, 2014

Antonio Carlos Ribeiro has a new tutorial showing you how integrate Codeception with a Webdriver on Homestead.

You can use Codeception to test Javascript, like DOM manipulations and Ajax requests. Out of the box it can manipulate DOM elements but can’t execute Javascript code, like most testing frameworks. But it gives you the option to use a WebDriver, to connect to a headless browser, and mimic a user browsing your website. It gives you some options: Selenium2, ZombieJS and, the easiest to configure, PhantomJS.

Filed in:

Eric L. Barnes

Eric is the creator of Laravel News and has been covering Laravel since 2012.