News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Matt Frost:
Starting with Selenium (and Headless on a VM)
August 27, 2012 @ 08:16:55

Matt Frost has posted a two part series of some of his experiences in setting up Selenium to execute it in a VM and run tests on your application.

I was a little scared when it came to setting up Selenium, I figured it was going to be difficult to setup and configure. So I was pleasantly surprised when it really wasn't. So here are a few of the mistakes I made; since I use Vagrant to do all my development I actually grabbed Selenium and started from there. Not a good place to start, although as I found out later; not a total dead end.

He includes the initial setup of things like PHPUnit and the Selenium .jar file as well as a sample test that loads a page and checks the title of the page. His second post shows how to set it up in the VM (using Vagrant, xvfb to capture the output and Firefox to execute the tests).

0 comments voice your opinion now!
selenium frontend testing vm vagrant firefox java xvfb


blog comments powered by Disqus

Similar Posts

Derick Rethans' Blog: PHP Vikinger 2008 Wrap-up

Geshan Manandhar: Getting started with PHP (LEMP) on Vagrant, the easiest way

Ilia Alshanetsky's Blog: PHP 5.2.1 RC1 Available for testing

Giorgio Sironi's Blog: Java versus PHP

Engine Yard: Cloud Out Loud Podcast - S02E11: Laura Beth Denker


Community Events

Don't see your event here?
Let us know!


laravel framework extension video development language release voicesoftheelephpant community interview introduction podcast unittest psr7 laravel5 conference opinion library api series

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework