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

  • SEARCH
  • Home
  • 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 9118347
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T05:07:56+00:00 2026-06-17T05:07:56+00:00

Selenium WebDriver code being used. FreeToPay is class representing Home Webpage of http://www.royalmail.com/ getWebDriver

  • 0

Selenium WebDriver code being used.
FreeToPay is class representing Home Webpage of http://www.royalmail.com/
getWebDriver is get method to get webdriver instance.

  WebElement Menu=FreeToPay.getWebDriver().findElement(By.linkText("Receiving mail"));
        //Sub menu 
        WebElement MenuItem=FreeToPay.getWebDriver().findElement(By.linkText("Redelivery"));
        Actions builder = new Actions(driver); 
        Actions hoverOverRegistrar = builder.moveToElement(Menu);
        hoverOverRegistrar.build().perform();


        MenuItem.click();
  • 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-17T05:07:58+00:00Added an answer on June 17, 2026 at 5:07 am

    Since I cannot see the link in the page, there are my tips:

    • Try that manually and exactly follow whats in the script. If you cannot do it manually, you will probably have to update the script

    • There is possibly typo in the code:

    you define WebElement called MenuItem but later on you try to hover over something which is called Menu only:

    Actions hoverOverRegistrar = builder.moveToElement(Menu);
    

    Maybe try to replace it by

    Actions hoverOverRegistrar = builder.moveToElement(MenuItem);
    

    BTW one last advice: The variables should start with lowercase letter – see this advice

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

Sidebar

Related Questions

I'm executing the following code import selenium from selenium import webdriver driver = webdriver.Remote(command_executor="http://selenium.server.com:4444/wd/hub",
I downloaded the selenium-java-2.0a5.zip http://code.google.com/p/selenium/downloads/list and ran the following code: package org.openqa.selenium.example; import org.openqa.selenium.By;
I am looking at the selenium-webdriver API for .NET at http://selenium.googlecode.com/svn/trunk/docs/api/dotnet/index.html . For the
My code in Visual studio is using selenium webdriver 2.24.0. My testing framework I'm
I have the following code in python from selenium import webdriver from selenium.webdriver.common.by import
I have a selenium webdriver backed code in java for testing an web application.
I have searched the Selenium Webdriver APi docs hosted on google code. Currently using
I've inherited some Selenium Webdriver code (Ubuntu 11.10, Xvfb + Selenium 2.19.0 & Firefox
With Selenium WebDriver I'm attempting to select drop down menu elements on a webpage
I used Java and Selenium Webdriver in a regression testing script. I chose a

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.