Coypu is an advanced wrapper for Selenium, which removes some of the pain that we are facing with current automation with Selenium. Coypu supports browser automation in .Net to help make tests readable, robust, fast to write and less tightly coupled to the UI.
If your tests are littered with sleeps, retries, complex XPath expressions and IDs dug out of the source with FireBug then Coypu might help.
As coypu has evolved over a period of time, the tool understood the pain points of selenium testers, hence you don’t really have to think of
Creating browser object and working with different browsers
Finding controls by complex Xpaths, CSS etc
How much it costs ?
Well coypu is 100% free and open-source, meaning, you can start trying it out straight away by installing coypu right into your visual studio project via nuget package.
Here is the command
install-package Coypu
Here is the complete video of the discussion
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
6 Replies to “An Introduction to Coypu tool for Selenium”
Could you please clarify the below queries
1. Will coypu supports java Programming
2. Can Coypu integrated with Eclipse? if yes… could you please make a titbit for the above
Sir I am tried the same code but it’s not working for me.
I have tried the following code as you done in your video series..
using System;
using NUnit.Framework;
using Coypu;
using Coypu.Drivers;
using OpenQA.Selenium.Chrome;
using Coypu.Drivers.Selenium;
using OpenQA.Selenium.Support;
namespace UnitTestProject1
{
[TestFixture]
public class UnitTest1
{
[Test]
public void TestMethod()
{
var sessionconfiguration = new SessionConfiguration()
{
Browser = Browser.Chrome,
Driver = typeof(Coypu.Drivers.Selenium.SeleniumWebDriver),
AppHost = “https://www.prodoo.dk/”
};
var browser = new BrowserSession(sessionconfiguration);
// browser.ClickButton(“LoginBtn”);
}
}
}
Could you please clarify the below queries
1. Will coypu supports java Programming
2. Can Coypu integrated with Eclipse? if yes… could you please make a titbit for the above
Hy Rakesh,
I personally did not tried Coypu for Java, but yes there is one https://github.com/featurist/coypu-jvm
I will try to add in Titbits sooner or later 🙂
Thanks,
Sounds Great!!!!! Your work helps us to learn new things…..
Awesome !!!
Hey Karthik is Chrome hadless compatible with coypu?
Sir I am tried the same code but it’s not working for me.
I have tried the following code as you done in your video series..
using System;
using NUnit.Framework;
using Coypu;
using Coypu.Drivers;
using OpenQA.Selenium.Chrome;
using Coypu.Drivers.Selenium;
using OpenQA.Selenium.Support;
namespace UnitTestProject1
{
[TestFixture]
public class UnitTest1
{
[Test]
public void TestMethod()
{
var sessionconfiguration = new SessionConfiguration()
{
Browser = Browser.Chrome,
Driver = typeof(Coypu.Drivers.Selenium.SeleniumWebDriver),
AppHost = “https://www.prodoo.dk/”
};
var browser = new BrowserSession(sessionconfiguration);
// browser.ClickButton(“LoginBtn”);
}
}
}