Selenium 2.0rc1 released

53 views
Skip to first unread message

Simon Stewart

unread,
Jun 1, 2011, 5:10:52 PM6/1/11
to selenium-developers, seleniu...@googlegroups.com, webdriver
Hi everyone,

We're really very, very pleased to announce that Selenium 2.0rc1 has
now been released! Hurrah! These are the highlights of this release:

* Grid 2: A major feature of this release is Grid 2, an implementation
of the Selenium Grid that supports WebDriver’s wire protocol, allowing
tests using Selenium WebDriver to be distributed. Naturally, this also
supports your Selenium 1 tests too. There are some docs to help you
get started on the wiki.

* New ChromeDriver: Following a complete rewrite of the ChromeDriver,
Selenium 2 is now supported natively by the Chrome browser itself. In
order to use this, you must download the appropriate chromedriver
executable from the Selenium project site.

* OperaDriver support: We’ve bundled the most excellent OperaDriver
into the release to make it easy to get started testing with Opera.

* Advanced User Interactions: An API that allows you to model complex
user interactions, such as clicking on an element, holding the shift
key, clicking on three more, and then dragging the four elements to a
final destination. The entry point to this API is the Actions class in
the Java world.

The advanced user interactions API marks the final major addition to
the APIs. We have marked a number of classes and methods as being
deprecated, and these will be removed in the next release. Speaking of
which, I'm planning on releasing updates to RC1 on a roughly two-week
basis so that we can respond quickly to issues raised and provide the
best 2.0 release we can.

If you've yet to make the move from the last 1.0.3 release, then I'd
really appreciate it if you could try RC1. It contains a large number
of fixes and improvements, including support for Firefox 4 and above.

The release announcement can be found here:
http://seleniumhq.wordpress.com/2011/06/01/selenium-2-0rc1-the-grid-release/

Regards,

Simon

Frank Cohen

unread,
Jun 1, 2011, 5:52:54 PM6/1/11
to selenium-...@googlegroups.com, seleniu...@googlegroups.com, webdriver
Congratulations!

I just Tweeted the news. Recommend everyone else do the same!

-Frank

> --
> You received this message because you are subscribed to the Google Groups "Selenium Developers" group.
> To post to this group, send email to selenium-...@googlegroups.com.
> To unsubscribe from this group, send email to selenium-develo...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/selenium-developers?hl=en.
>


---
Frank Cohen
PushToTest, the Open Source Test (OST) Company
fco...@pushtotest.com
http://www.pushtotest.com
Phone: (408) 364-5508

George Dinwiddie

unread,
Jun 1, 2011, 6:13:46 PM6/1/11
to seleniu...@googlegroups.com
Good news, Simon! But http://code.google.com/p/selenium/downloads/list
is giving a 500 error.

- George

--
----------------------------------------------------------------------
* George Dinwiddie * http://blog.gdinwiddie.com
Software Development http://www.idiacomputing.com
Consultant and Coach http://www.agilemaryland.org
----------------------------------------------------------------------

George Dinwiddie

unread,
Jun 1, 2011, 6:18:45 PM6/1/11
to seleniu...@googlegroups.com
Oops, I spoke too soon. That page works in Chrome, but not in Firefox 4.

- George

kundan bora

unread,
Jun 2, 2011, 1:24:30 AM6/2/11
to selenium-...@googlegroups.com, seleniu...@googlegroups.com, webdriver
Hi,

I tried to run selenium-server-standalone-2.0rc1.jar with command java –jar selenium-server-2.0rc1.jar –role webdriver  -hub http://localhost:4444/grid/register -port 5556 .

It gives error as below ->

Exception in thread "main" java.lang.NoClassDefFoundError: ûjar
Caused by: java.lang.ClassNotFoundException: ûjar
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: ΓÇôjar.  Program will exit.

However Hub configuration run fine with command java -jar selenium-server-standalone-2.0rc1.jar -role hub

Below is the complete stack trace->

Jun 2, 2011 10:46:29 AM org.openqa.grid.web.Hub loadGrid1Config
INFO: Did not find a Grid 1.0 configuration file.  Skipping Grid 1.0 setup.
Jun 2, 2011 10:46:29 AM org.openqa.jetty.http.HttpServer doStart
INFO: Version Jetty/5.1.x
Jun 2, 2011 10:46:29 AM org.openqa.jetty.util.FileResource <clinit>
INFO: Checking Resource aliases
Jun 2, 2011 10:46:30 AM org.openqa.jetty.util.Container start
INFO: Started org.openqa.jetty.jetty.servlet.WebApplicationHandler@763f5d
Jun 2, 2011 10:46:30 AM org.openqa.jetty.util.Container start
INFO: Started WebApplicationContext[/,/]
Jun 2, 2011 10:46:30 AM org.openqa.jetty.http.SocketListener start
INFO: Started SocketListener on 0.0.0.0:4444
Jun 2, 2011 10:46:30 AM org.openqa.jetty.util.Container start
INFO: Started org.openqa.jetty.jetty.Server@179c285

Any suggestion...??
with regards
-----------------------
Kundan Singh Bora

kundan bora

unread,
Jun 2, 2011, 3:00:48 AM6/2/11
to selenium-...@googlegroups.com, seleniu...@googlegroups.com
I got the solution .... 
thanks 

Ravi Gopalan

unread,
Jun 6, 2011, 4:58:13 PM6/6/11
to seleniu...@googlegroups.com, selenium-...@googlegroups.com
Hi,
 
When i try to run the grid 2 with the following option:
 
java  -classpath ".;E:\\NewWorkspace\\CustomHtmlUnitDriver\\bin\\customhtmlunitdriver.jar;./build/java/server/src/org/openqa/grid/selenium/selenium-standalone.jar" org.openqa.grid.selenium.GridLauncher -role wd -hub http://localhost:4444/grid/register -port 5003 -browser browserName=htmlunit,platform=ANY,version=firefox
 
and try to access the grid console with the http://127.0.0.1:4444/grid/console
 
i get an exception in the BrowserNameUtils where it is searching for an image for the browser specified which in my case is htmlunit and i don't see an image for the same.
 
Please help in solving this issue.
 
Regards
Ravi

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/selenium-users?hl=en.

Dario

unread,
Jun 16, 2011, 12:54:53 PM6/16/11
to Selenium Users
Hi Kundan,

Could you please tell me the solution that works for you?

I have the same problem when i run: java -jar selenium-
server-2.0rc1.jar -role webdriver -hub http://localhost:4444/grid/register
-port 5556

Exception in thread "main" java.lang.NoClassDefFoundError: ûjar
Caused by: java.lang.ClassNotFoundException: ûjar
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)

Thanks!
Dario

On Jun 2, 4:00 am, kundan bora <kundan2020b...@gmail.com> wrote:
> I got the solution ....
> thanks
>
> On Thu, Jun 2, 2011 at 10:54 AM, kundan bora <kundan2020b...@gmail.com>wrote:
>
>
>
> > Hi,
>
> > I tried to run selenium-server-standalone-2.0rc1.jar with command* java
> > –jar selenium-server-2.0rc1.jar –role webdriver  -hub
> >http://localhost:4444/grid/register-port 5556 .*
>
> > It gives error as below ->
>
> > Exception in thread "main" java.lang.NoClassDefFoundError: ûjar
> > Caused by: java.lang.ClassNotFoundException: ûjar
> >         at java.net.URLClassLoader$1.run(Unknown Source)
> >         at java.security.AccessController.doPrivileged(Native Method)
> >         at java.net.URLClassLoader.findClass(Unknown Source)
> >         at java.lang.ClassLoader.loadClass(Unknown Source)
> >          at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> >         at java.lang.ClassLoader.loadClass(Unknown Source)
> > Could not find the main class: ΓÇôjar.  Program will exit.
>
> > However Hub configuration run fine with command *java -jar
> > selenium-server-standalone-2.0rc1.jar -role hub*
> > *
> > *
> > Below is the complete stack trace->
> > *
> > *
> >>http://seleniumhq.wordpress.com/2011/06/01/selenium-2-0rc1-the-grid-r...
Reply all
Reply to author
Forward
0 new messages