MPSC.PlenoSoft.WatiN.Extension 1.0.0.8

There is a newer version of this package available.
See the version list below for details.

Requires NuGet 3.5.0 or higher.

Install-Package MPSC.PlenoSoft.WatiN.Extension -Version 1.0.0.8
dotnet add package MPSC.PlenoSoft.WatiN.Extension --version 1.0.0.8
<PackageReference Include="MPSC.PlenoSoft.WatiN.Extension" Version="1.0.0.8" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MPSC.PlenoSoft.WatiN.Extension --version 1.0.0.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MPSC.PlenoSoft.WatiN.Extension, 1.0.0.8"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install MPSC.PlenoSoft.WatiN.Extension as a Cake Addin
#addin nuget:?package=MPSC.PlenoSoft.WatiN.Extension&version=1.0.0.8

// Install MPSC.PlenoSoft.WatiN.Extension as a Cake Tool
#tool nuget:?package=MPSC.PlenoSoft.WatiN.Extension&version=1.0.0.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

WatiN Extension é uma extensão para o WatiN muito simples de utilizar.

using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MPSC.PlenoSoft.WatiN.Extension.Util;
using WatiN.Core;

namespace MPSC.PlenoSoft.WatiN.Extension.Testes.Unidade
{
[TestClass]
public class Testando_WatiN
{
[TestMethod]
public void Exemplo_De_Como_Automatizar_Pesquisa_No_Google()
{
var browser = WatiNExtension.ObterNavegador<IE>();
browser.GoTo("https://www.google.com/search?q=WatiN");
var html = browser.Html;
Assert.IsNotNull(html);
}

[TestMethod]
public void Exemplo_De_Como_Automatizar_Pesquisa_De_CEP_Nos_Correios()
{
var navegador = Navegador.New(TipoNavegador.InternetExplorer);
navegador.IrPara("http://www.buscacep.correios.com.br/servicos/dnec/menuAction.do?Metodo=menuCep", TimeSpan.FromSeconds(10), "CEP");
navegador.SetText("relaxation", "20090000", false);
navegador.ClickButton("Buscar", true, true);
var html = navegador.GetHtml();
navegador.Fechar();
Assert.IsNotNull(html);
}
}
}

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0.10 785 4/26/2018
1.0.0.9 627 4/26/2018
1.0.0.8 610 4/26/2018

(Atual)
2018/04/26 - 1.0.0.8 -> Versão Inicial da extensão para o WatiN;