Skip to content

Commit c907ae0

Browse files
authored
test: Remove redundant cast (#597)
1 parent fbf5ba2 commit c907ae0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/Windows/ClickElementTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public void BeforeAll()
4141

4242
_calculatorSession.FindElement(MobileBy.Name("Clear")).Click();
4343
_calculatorSession.FindElement(MobileBy.Name("Seven")).Click();
44-
CalculatorResult = _calculatorSession.FindElement(MobileBy.Name("Display is 7")) as WebElement;
44+
CalculatorResult = _calculatorSession.FindElement(MobileBy.Name("Display is 7"));
4545
Assert.IsNotNull(CalculatorResult);
4646
}
4747

0 commit comments

Comments
 (0)