2

Please provide answers in detail, So that we could clarify that which one is to choose, Web driver or Selenium RC.

2

4 Answers 4

4

Maybe this question I asked several months ago on stackoverflow can do some help to you: https://stackoverflow.com/questions/9781940/selenium-vs-webdriver-any-obvious-advantages
Although I said I decided to use RC at that time, I turn to webdriver short after that. Yes, webdriver has problems, but it is upgrading time after time. I would rather try the new features of webdriver developed by selenium groups, than using the old, end-of-life selenium.

1
  • 1
    I need the major differences between RC and web driver that why to use which. Commented Oct 9, 2012 at 5:45
3
  • Webdriver is faster, as compared to RC
  • Webdriver mimics much more closer to real-life interaction; as compared to RC
  • WebDriver supports more languages
  • WebDriver is more actively followed/supported now; RC is past

details: http://www.guru99.com/introduction-webdriver-comparison-selenium-rc.html

1

The main advantage is that a Webdriver and RC suites are they allow you to use a programming language in creating your test scripts (not possible in Selenium IDE).

Following programming languages are supported by WebDriver (but others have some 3rd party support)

  • Java
  • .Net
  • PHP
  • Python
  • Perl
  • Ruby

Where they differ;

WebDriver is faster than Selenium RC since it speaks directly to the browser uses the browser's own engine to control it

Selenium RC tends to be slower Than Webdriver since it uses a Javascript program called Selenium Core. This Selenium Core is the one that directly controls the browser, not you.

WebDriver can also support HtmlUnit. A headless browser which is very useful in certain circumstances.

2
  • Looks like WebDriver is ideal and has no downsides, which isn't true according to stackoverflow.com/questions/9781940/…
    – dzieciou
    Commented Dec 14, 2015 at 18:44
  • 2
    The "newness of SafariDriver" is less of an issue now than it was 3 years ago on that linked comment. Is there a particular disadvantage you are thinking of and I'll add it to the answer.
    – ECiurleo
    Commented Dec 14, 2015 at 20:34
1

2017

You use webdriver.

RC is deprecated and no longer developed.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.