Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9168661
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T15:40:42+00:00 2026-06-17T15:40:42+00:00

I am using Selenium WebDriver with Ruby and am attempting to create a script

  • 0

I am using Selenium WebDriver with Ruby and am attempting to create a script that will test in IE8. I am unable to find an answer on how to set iedriver to launch in IE8 mode or how to switch it to IE8 after webdriver has launched. I am on Windows 7 so I only have IE9 available to me. The code I am currently using to launch webdriver in IE9 is

    $driver = Selenium::WebDriver.for :ie

Any help would be greatly appreciated. I have looked high and low but cannot find any sort of answer to this question. If you need additional info from me I will happily provide it. Thank you very much.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T15:40:43+00:00Added an answer on June 17, 2026 at 3:40 pm

    If you want to tell the IE version during run time, you can use DesiredCapabilities.

      DesiredCapabilities ieCapabilities = null;
      ieCapabilities = DesiredCapabilities.internetExplorer();
      ieCapabilities.setBrowserName("internet explorer");
      ieCapabilities.setVersion("Version Number");
      driver = new InternetExplorerDriver(ieCapabilities);
    

    For more info about DesiredCapabilities use this link http://code.google.com/p/selenium/wiki/DesiredCapabilities.

    In the comments you said that i need both IE 8 and 9. Actually it is not possible, Windows currently supports to install only one IE version in a box. The IEDriver used the installed version of IE to launch.

    If you want to use multiple version of IE to test then the better option to go with Windows Virtual Machines. You can talk with virtual machines by using the RemoteWebdriver instances.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using Selenium-WebDriver for Ruby and I am trying to verify that text
Currently I'm using ruby rake to run ALL selenium ruby webdriver scripts that I
I'm using Selenium WebDriver with Testng (started using an .xml file) to test a
I am trying to set and then read a Cookie using the Selenium Webdriver.
I have a C# unit test using Selenium WebDriver to test to see if
I'm using Selenium WebDriver on Ruby 1.8.7 on an Ubuntu 12.04 desktop. I have
I got an issue when running a Selenium Ruby Webdriver script as below: the
The application for which I'm writing script (using selenium-webdrive with Ruby) is built in
I have a selenium webdriver test case exported to python using selenium IDE. Then
So I've got a list of clickable links using selenium-webdriver in Ruby: users =

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.