Skip to content

Commit

Permalink
Increase project version to 2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
YevgeniyShunevych committed Sep 26, 2023
1 parent 02cb61c commit d467bfe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ Is a part of [Atata Framework](https://atata.io).

*The package targets .NET Standard 2.0, which supports .NET 5+, .NET Framework 4.6.1+ and .NET Core/Standard 2.0+.*

**[What's new in v2.3.0](https://atata.io/blog/2023/09/26/atata.webdriverextras-2.3.0-released/)**

## Usage

Add `Atata` namespace:
Expand All @@ -29,7 +31,7 @@ IWebDriver driver = new ChromeDriver();
// Sets the retry timeout as 7 seconds. The default value of the timeout is 5 seconds.
driver.Manage().Timeouts().SetRetryTimeout(TimeSpan.FromSeconds(7));

// Get the visible element within 7 seconds. Throws NoSuchElementException if the element is not found.
// Get the visible element within 7 seconds. Throws ElementNotFoundException if the element is not found.
IWebElement element1 = driver.Get(By.Id("some-id"));

// Get the visible element safely (without throw on failure) within 7 seconds. Returns null if the element is not found.
Expand All @@ -47,7 +49,7 @@ IWebElement element4 = driver.Get(By.CssSelector(".some-css").Hidden().Safely().
// Gets a value indicating whether the element exists at once.
bool isElementExists = driver.Exists(By.Name("some-name").Safely().AtOnce());

// Waits until the element will be missing within 15 seconds; else throws NotMissingElementException.
// Waits until the element will be missing within 15 seconds; else throws ElementNotMissingException.
driver.Missing(By.Name("some-name").Within(TimeSpan.FromSeconds(15)));

// Get the element using the chain of By.
Expand Down
4 changes: 2 additions & 2 deletions src/Atata.WebDriverExtras/Atata.WebDriverExtras.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<RootNamespace>Atata</RootNamespace>
<Version>2.2.0</Version>
<Version>2.3.0</Version>
<Title>Atata WebDriver Extras</Title>
<Description>A set of extension methods and other extra classes for Selenium WebDriver. Is a part of Atata Framework.

Expand All @@ -14,7 +14,7 @@ Atata Framework documentation: https://atata.io</Description>
<RepositoryUrl>https://github.com/atata-framework/atata-webdriverextras</RepositoryUrl>
<PackageId>Atata.WebDriverExtras</PackageId>
<PackageTags>atata automation testing test selenium webdriver browser</PackageTags>
<PackageReleaseNotes>https://atata.io/blog/2022/10/03/atata.webdriverextras-2.2.0-released/</PackageReleaseNotes>
<PackageReleaseNotes>https://atata.io/blog/2023/09/26/atata.webdriverextras-2.3.0-released/</PackageReleaseNotes>
<PackageProjectUrl>https://github.com/atata-framework/atata-webdriverextras</PackageProjectUrl>
</PropertyGroup>

Expand Down

0 comments on commit d467bfe

Please sign in to comment.