Monday, July 11, 2011

How to integrate PHPUnit and the newer Selenium webdriver

Turns out this is a cutting edge development area:

https://github.com/chibimagic/WebDriver-PHP is currently getting commits.
http://code.google.com/p/php-webdriver-bindings/ is also.

This is separate from the other configuration nightmare that I was facing -- how to test in Selenium using chrome:

http://code.google.com/p/selenium/wiki/ChromeDriver

So, for now, I can either go with the older Selenium 1.0 framework (Selenium RC) -- and the current bindings in PHPUnit -- or use bleeding edge bindings.

Ugh.

Spinwait.

2 comments:

  1. Hey man I've been trying to get this to work too. I can pop up firefox and safari just fine, but not chrome. :( (with phpunit that is).

    ever get this to work?

    ReplyDelete
  2. I think the recent comments on the ChromeDriver wiki might be helpful -- the most useful-looking ones were in the past week.
    But I haven't had a chance to test the new instructions.

    ReplyDelete

#RSFtalks with Edward Snowden

What an intelligent, thoughtful individual. I find it difficult to forgive 44 for failing to pardon this patriot and instead pursuing him ...

Other Popular Posts: