Permalink
Browse files

Default jar file path changed to current version, 2.42.1

  • Loading branch information...
adrianblynch committed Jun 19, 2014
1 parent 5231de4 commit e0e24cd37501fe5fb1142dd93e53af452157eb42
Showing with 6 additions and 6 deletions.
  1. +3 −3 readme.md
  2. +1 −1 selenium.cfc
  3. +1 −1 selenium_tags.cfc
  4. +1 −1 server.cfc
View
@@ -14,14 +14,14 @@ CFSelenium is a ColdFusion Component (CFC) which provides a native client librar
Optionally, start the Selenium-RC server. Selenium.cfc will automatically start the Selenium-RC server for you in the background if it isn't already started (note this does not work on CF7). To start it manually, the command is similar to this:
- java -jar selenium-server-standalone-2.28.0.jar
+ java -jar selenium-server-standalone-2.42.1.jar
Create an instance of selenium.cfc.
selenium = new selenium();
You can also pass the host and port into the constructor, which default to localhost and 4444:
-
+
selenium = new selenium("localhost", 4444);
To start up a browser, call selenium.start() passing in the starting url and, optionally, a browser command telling it which browser to start (the default is *firefox):
@@ -33,7 +33,7 @@ To start a different browser (e.g., Google Chrome), pass in the browser command
selenium.start("http://github.com/","*googlechrome");
Call methods on the selenium object to drive the browser and check values. For example:
-
+
selenium.open("/bobsilverberg/CFSelenium");
assertEquals("bobsilverberg/CFSelenium - GitHub", selenium.getTitle());
selenium.click("link=readme.md");
View
@@ -17,7 +17,7 @@
*/
public any function init (string host = "localhost", numeric port = 4444,
- numeric executionDelay = 200, string seleniumJarPath = "/cfselenium/Selenium-RC/selenium-server-standalone-2.28.0.jar", boolean verbose = false, string seleniumServerArguments = "",
+ numeric executionDelay = 200, string seleniumJarPath = "/cfselenium/Selenium-RC/selenium-server-standalone-2.42.1.jar", boolean verbose = false, string seleniumServerArguments = "",
numeric waitTimeout = 30000) {
structAppend(variables,arguments,true);
View
@@ -29,7 +29,7 @@
<cfargument required="false" type="string" name="host" default="localhost" />
<cfargument required="false" type="numeric" name="port" default="4444" />
<cfargument required="false" type="numeric" name="executionDelay" default="200" />
- <cfargument required="false" type="string" name="seleniumJarPath" default="/cfselenium/Selenium-RC/selenium-server-standalone-2.28.0.jar" />
+ <cfargument required="false" type="string" name="seleniumJarPath" default="/cfselenium/Selenium-RC/selenium-server-standalone-2.42.1.jar" />
<cfargument required="false" type="boolean" name="verbose" default="false" />
<cfargument required="false" type="string" name="seleniumServerArguments" default="" />
<cfargument required="false" type="numeric" name="waitTimeout" default="30000" />
View
@@ -5,7 +5,7 @@
<cffunction name="init" output="false" access="public" returntype="any" hint="">
<cfargument name="selenium" type="any" required="true">
<cfargument name="executionDelay" type="numeric" required="false" default="200">
- <cfargument name="seleniumJarPath" type="string" required="false" default="/cfselenium/Selenium-RC/selenium-server-standalone-2.28.0.jar">
+ <cfargument name="seleniumJarPath" type="string" required="false" default="/cfselenium/Selenium-RC/selenium-server-standalone-2.42.1.jar">
<cfargument name="verbose" type="boolean" required="false" default="false">
<cfargument name="seleniumServerArguments" type="string" required="false" default="">

0 comments on commit e0e24cd

Please sign in to comment.