Site Loader
Auckland, New Zealand
In the last post we discussed working with dialog box using Coypu, in this post we will discuss working with mouse hover using Coypu for selenium C#, an advanced wrapper for selenium.

Selenium vs Coypu

Here is the complete video of the above discussion Here is the complete code from the above video
        public void Test_Hover()

            var sessionConfiguration = new SessionConfiguration()
                Browser = Browser.Firefox,
                AppHost = "",

            var browser = new BrowserSession(sessionConfiguration);


            //Hover mouse to Automation tools
            browser.FindId("Automation Tools").Hover();

            //Hover to selenium 

            //Hover Selenium RC and Click
            browser.FindId("Selenium RC").Hover().Click();

            NUnit.Framework.Assert.That(browser.HasContent("Selenium RC", Options.Substring));

Thanks for reading the post and watching the video!!! Please leave your comments and let me know if there is anything I should update in this post. Thanks, Karthik KK

Post Author: Karthik kk

Leave a Reply

Your email address will not be published. Required fields are marked *