Selenium.StandardControls
                             
                            
                                0.56.0
                            
                        
                    See the version list below for details.
dotnet add package Selenium.StandardControls --version 0.56.0
NuGet\Install-Package Selenium.StandardControls -Version 0.56.0
<PackageReference Include="Selenium.StandardControls" Version="0.56.0" />
<PackageVersion Include="Selenium.StandardControls" Version="0.56.0" />
<PackageReference Include="Selenium.StandardControls" />
paket add Selenium.StandardControls --version 0.56.0
#r "nuget: Selenium.StandardControls, 0.56.0"
#:package Selenium.StandardControls@0.56.0
#addin nuget:?package=Selenium.StandardControls&version=0.56.0
#tool nuget:?package=Selenium.StandardControls&version=0.56.0
Selenium.StandardControls
Created by Ishikawa-Tatsuya Matsui-Bin
What is Selenium.StandardControls?
- Wrapped test library selenium in C#
- You can use the HTML standard control to simple
Sample Code
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenQA.Selenium.Firefox;
namespace Test
{
    [TestClass]
    public class TestControls
    {
        FirefoxDriver _driver;
        Page_Controls _page;
        [TestInitialize]
        public void TestInitialize()
        {
            _driver = new FirefoxDriver();
            _page = Page_Controls.Open(_driver);
        }
        [TestCleanup]
        public void TestCleanup()
        {
            _driver.Dispose();
        }
        [TestMethod]
        public void TextBox()
        {
            _page.TextBox.Edit("abc");
            _page.TextBox.Text.Is("abc");
        }
    }
}
Corresponding Control
- Anchor
Anchor.Text.Is("codeer");
Anchor.Invoke();
- Button
Button.Invoke();
- CheckBox
CheckBox.Edit(true);
CheckBox.Checked.IsTrue();
CheckBox.Edit(false);
CheckBox.Checked.IsFalse();
- DropDownList
DropDown.Edit("Apple");
DropDown.SelectedIndex.Is(0);
DropDown.Edit("Orange");
DropDown.SelectedIndex.Is(1);
DropDown.Edit(3);
DropDown.SelectedIndex.Is(3);
DropDown.Text.Is("Pinapple");
- Label
Label.Text.Is("Title Controls");
- RadioButton
RadioButton.Checked.IsTrue();
RadioButton.Edit();
RadioButton.Checked.IsFalse();
- TextArea
TextArea.Edit("abc");
TextArea.Text.Is("abc");
- TextBox
TextBox.Edit("abc");
TextBox.Text.Is("abc");
TextBox.Show();
TextBox.Focus();
TextBox.Blur();
About Info
Example:
TextBox.Info.FontBold.IsTrue();
TextBox.Info.FontItalic.IsTrue();
TextBox.Info.TextLineThrough.IsTrue();
TextBox.Info.Class.Is("exampleTrue");
TextBox.Info.ImeMode.Is("auto");
TextBox.Info.Color.Is("rgba(153, 204, 0, 1)");
TextBox.Info.BackGroundColor.Is("rgba(0, 0, 0, 1)");
TextBox.Info.TextAlign.Is("left");
TextBox.Info.FontSize.Is("19.2px");
TextBox.Info.Font.Is("sans-serif");
TextBox.Info.Width.Is("1388.77px");
TextBox.Info.Height.Is("19.8333px");
Info Property
- Id
- InnerHtml
- InnerText
- Text
- Value
- Class
- Width
- Height
- FontSize
- Font
- FontBold
- FontItalic
- TextUnderline
- TextLineThrough
- Color
- BackGroundColor
- BackGroundImage
- TabIndex
- ImeMode
- MaxLength
- TextAlign
About Wait
Example: After editing TextBox, wait until you see again TextBox
TextBox.Wait = () =>
{
    while (true)
    {
        try
        {
          TextBox.Show();
            break;
        }
        catch { }
        Thread.Sleep(100);
    }
};
TextBox.Edit("abc");
//Waiting for the Show
TextBox.Text.Is("abc");
Target Dirver
- AnchorDriver
- ButtonDriver
- CheckBoxDriver
- DropDownListDriver
- RadioButtonDriver
- TextBoxDriver
Author Info
Ishikawa-Tatsuya & Matsui-Bin is a software developer in Japan at Codeer, Inc.
Ishikawa-Tatsuya & Matsui-Bin is awarding Microsoft MVP.
License
This library is under the Apache License.
| Product | Versions Compatible and additional computed target framework versions. | 
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. | 
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. | 
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. | 
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. | 
| MonoAndroid | monoandroid was computed. | 
| MonoMac | monomac was computed. | 
| MonoTouch | monotouch was computed. | 
| Tizen | tizen40 was computed. tizen60 was computed. | 
| Xamarin.iOS | xamarinios was computed. | 
| Xamarin.Mac | xamarinmac was computed. | 
| Xamarin.TVOS | xamarintvos was computed. | 
| Xamarin.WatchOS | xamarinwatchos was computed. | 
- 
                                                    .NETStandard 2.0- Microsoft.CSharp (>= 4.7.0)
- Selenium.Support (>= 4.23.0)
- System.CodeDom (>= 8.0.0)
 
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Selenium.StandardControls:
| Package | Downloads | 
|---|---|
| Selenium.WebForms.Infragistics Operate standard web controls by selenium. | |
| Selenium.WebForms Operate standard web controls by selenium. | |
| Codeer.LowCode.Blazor.SeleniumDrivers Used when testing web apps created with Coder.LowCode.Blazor with Selenium. | 
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | 
|---|---|---|
| 0.61.0 | 652 | 9/13/2024 | 
| 0.59.0 | 303 | 7/24/2024 | 
| 0.56.0 | 221 | 7/22/2024 | 
| 0.55.0 | 383 | 6/27/2023 | 
| 0.54.0 | 944 | 6/10/2022 | 
| 0.53.0 | 654 | 3/9/2022 | 
| 0.52.0 | 632 | 3/1/2022 | 
| 0.51.0 | 727 | 11/1/2021 | 
| 0.50.0 | 650 | 7/15/2021 | 
| 0.49.0 | 547 | 6/28/2021 | 
| 0.48.0 | 753 | 5/18/2021 | 
| 0.46.0 | 549 | 5/14/2021 | 
| 0.45.0 | 555 | 5/12/2021 | 
| 0.44.1 | 594 | 5/6/2021 | 
| 0.44.0 | 617 | 12/29/2020 | 
| 0.43.0 | 658 | 12/15/2020 | 
| 0.42.0 | 668 | 11/24/2020 | 
| 0.41.0 | 718 | 11/9/2020 | 
| 0.40.0 | 745 | 11/8/2020 | 
| 0.33.0 | 627 | 10/29/2020 | 
| 0.32.0 | 661 | 10/28/2020 | 
| 0.30.0 | 604 | 10/26/2020 | 
| 0.29.0 | 624 | 10/25/2020 | 
| 0.27.0 | 665 | 10/23/2020 | 
| 0.26.0 | 674 | 10/23/2020 | 
| 0.25.0 | 704 | 10/23/2020 | 
| 0.24.0 | 646 | 10/9/2020 | 
| 0.22.0 | 638 | 10/8/2020 | 
| 0.21.0 | 721 | 10/2/2020 | 
| 0.20.0 | 683 | 8/16/2020 | 
| 0.16.0 | 726 | 8/15/2020 | 
| 0.15.0 | 727 | 8/9/2020 | 
| 0.14.0 | 628 | 8/4/2020 | 
| 0.12.0 | 679 | 6/11/2020 | 
| 0.11.0 | 630 | 6/3/2020 | 
| 0.10.0 | 675 | 6/3/2020 | 
| 0.9.0 | 715 | 6/1/2020 | 
| 0.8.0 | 718 | 6/1/2020 | 
| 0.7.0 | 924 | 5/26/2019 | 
| 0.6.0 | 781 | 5/26/2019 | 
| 0.5.0 | 812 | 5/26/2019 | 
| 0.3.0 | 785 | 5/26/2019 | 
| 0.2.0 | 785 | 5/22/2019 | 
| 0.1.0 | 803 | 5/22/2019 | 
| 0.0.26 | 2,086 | 6/2/2016 | 
| 0.0.25 | 1,939 | 5/21/2016 | 
| 0.0.24 | 1,508 | 5/20/2016 | 
| 0.0.23 | 6,241 | 5/9/2016 | 
| 0.0.22 | 1,713 | 5/9/2016 | 
| 0.0.21 | 1,721 | 5/8/2016 | 
| 0.0.20 | 1,274 | 5/8/2016 | 
| 0.0.18 | 1,345 | 5/7/2016 | 
| 0.0.17 | 1,305 | 5/6/2016 | 
| 0.0.16 | 2,568 | 4/25/2016 | 
| 0.0.15 | 2,305 | 4/16/2016 | 
| 0.0.13 | 1,333 | 4/13/2016 | 
| 0.0.12 | 1,322 | 4/12/2016 | 
| 0.0.11 | 1,285 | 4/12/2016 | 
| 0.0.10 | 2,505 | 4/10/2016 | 
| 0.0.9 | 1,882 | 4/9/2016 | 
| 0.0.8 | 2,105 | 4/2/2016 | 
| 0.0.6 | 3,276 | 3/21/2016 | 
| 0.0.5 | 3,137 | 3/18/2016 | 
| 0.0.3 | 1,900 | 3/18/2016 | 
| 0.0.2 | 1,966 | 3/14/2016 |