Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.4.4

Bug #18255 errors responses from selenium server should throw exceptions
Submitted: 2011-02-08 21:31 UTC
From: adamgoucher Assigned:
Status: Open Package: Testing_Selenium (version Unknown)
PHP Version: 5.3.1 OS: Mac
Roadmaps: (Not assigned)    
Subscription  


 [2011-02-08 21:31 UTC] adamgoucher (adam goucher)
Description: ------------ The response from the server in the doCommand function should check that it starts with OK rather than blindly expect that things will work.

Comments

 [2011-02-08 21:41 UTC] adamgoucher (adam goucher)
The fix for this btw is if (!preg_match('/^OK/', $response)) { throw new Testing_Selenium_Exception($response); } at line 2566.