Ok I saw your Jira thanks. Thanks for your advice I'll immediately look at changes between Selenium API & WebDriver and probably make the move before it's too late !
Regards, Maxime From: Paul Hammant [mailto:[email protected]] Sent: Tuesday,May 17,2011 3:57 PM To: [email protected] Subject: Re: [jbehave-dev] SeleniumPage improvment Fixed for next release :- http://jira.codehaus.org/browse/JBEHAVE-517. Some of the commands (like start/stop) are vetoed as JBehave wants to control those itself. Now the SeleniumPage is a mix of methods from the Selenium interface, and some the JBehave team has added for convenience. Unless you have a huge wealth of tests using Selenium 1.0, you really should be migrating to Selenium 2.0 (WebDriver) now Maxime :) Regards, - Paul On Tue, May 17, 2011 at 7:44 AM, SCHNEIDER-DUFEUTRELLE Maxime <[email protected]<mailto:[email protected]>> wrote: Hi all, First, bravo and thanks for the job you've done on jBehave which is an excellent BDD tool ! I'm working on an application with jBehave and Selenium and I was wondering why all the possibility of the Selenium API were not present in the SeleniumPage. Maybe not every command is needed but at least a little more like : selenium.waitForCondition() selenium.getTitle() selenium.mouseOver() selenium.keyDown() selenium.keyUp() selenium.keyPress() selenium.isElementPresent() Maybe there are good reasons explaining why you didn't implement them ? I really don't understand why. I think it would be very usefull and make the code more understandable. I can make the changes in the svn if you want me to do this. Regards, Maxime ************************************************************************* This message and any attachments (the "message") are confidential, intended solely for the addressee(s), and may contain legally privileged information. Any unauthorised use or dissemination is prohibited. E-mails are susceptible to alteration. Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. ************ Ce message et toutes les pieces jointes (ci-apres le "message") sont confidentiels et susceptibles de contenir des informations couvertes par le secret professionnel. Ce message est etabli a l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisee est interdite. Tout message electronique est susceptible d'alteration. La SOCIETE GENERALE et ses filiales declinent toute responsabilite au titre de ce message s'il a ete altere, deforme ou falsifie. *************************************************************************
