Join 25,000+ Laravel Developers and join the free Laravel Newsletter
Laravel Tutorials / updated: July 19, 2016

Codeception, Javascript and Laravel Homestead

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.

This appeared first on Laravel News

Visit Resource →

Laravel News Partners

Newsletter

Join the weekly newsletter and never miss out on new tips, tutorials, and more.