Mauro,

I resolved my issue by updating the dependencies in my project to the latest 
version of htmlunit supported by Selenium (selenium-htmlunit-driver version 
2.11, selenium-api version 2.11).

I had to do the same for Firefox 7.0.1 support.

So this was just a version incompatibility issue, though I do think that the 
drivers for jbehave-web-selenium are significantly old.  If I am not mistaken, 
it might make sense to update them in an upcoming release.

Thanks.
David

-----Original Message-----
From: Mauro Talevi [mailto:[email protected]] 
Sent: Saturday, October 29, 2011 8:32 AM
To: [email protected]
Subject: Re: [jbehave-user] HtmlUnit

Hi David, 

I've not been able to reproduce your problem on the latest snapshot.    
 To verify if you have a problem on your env you could try to run the 
PropertyWebDriverProviderTest or provide us with the simplest project 
that reproduces the issue.

Cheers


On Fri Oct 28 20:40:19 2011, Alves, David wrote:
> I recently tried to run my tests against HtmlUnit. They work fine with 
> FF, IE, and Chrome (all versions), but I found that I was unable to 
> instantiate an HtmlUnitDriver() using PropertyWebDriverProvider.
>
> An exception is thrown when the method createHtmlUnitDriver () is 
> called, at line 86 (of PropertyWebDriverProvider.java), which reads:
>
> “HtmlUnitDriver driver = new HtmlUnitDriver();”
>
> I am using jbehave-web-3.4, and jbehave-core-3.5.1.
>
> Can anyone else confirm that they have utilized HtmlUnit and it works 
> in this version?
>
> If not, Mauro, could you or one of the other developers please test 
> this and verify if it is just my environment, or whether there is a 
> true bug here?
>
> Thanks.
>
> David Alves
>
>
>
> The information contained in this email message and its attachments is 
> intended only for the private and confidential use of the recipient(s) 
> named above, unless the sender expressly agrees otherwise. 
> Transmission of email over the Internet is not a secure communications 
> medium. If you are requesting or have requested the transmittal of 
> personal data, as defined in applicable privacy laws by means of email 
> or in an attachment to email, you must select a more secure alternate 
> means of transmittal that supports your obligations to protect such 
> personal data. If the reader of this message is not the intended 
> recipient and/or you have received this email in error, you must take 
> no action based on the information in this email and you are hereby 
> notified that any dissemination, misuse or copying or disclosure of 
> this communication is strictly prohibited. If you have received this 
> communication in error, please notify us immediately by email and 
> delete the original message.



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



The information contained in this email message and its attachments is intended 
only for the private and confidential use of the recipient(s) named above, 
unless the sender expressly agrees otherwise. Transmission of email over the 
Internet is not a secure communications medium. If you are requesting or have 
requested the transmittal of personal data, as defined in applicable privacy 
laws by means of email or in an attachment to email, you must select a more 
secure alternate means of transmittal that supports your obligations to protect 
such personal data. If the reader of this message is not the intended recipient 
and/or you have received this email in error, you must take no action based on 
the information in this email and you are hereby notified that any 
dissemination, misuse or copying or disclosure of this communication is 
strictly prohibited. If you have received this communication in error, please 
notify us immediately by email and delete the original message. 

Reply via email to