Skip to content

Commit d0eb618

Browse files
Added method for clearing the clipboard.
1 parent 6d29bef commit d0eb618

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/FlaUI.WebDriver.UITests/ExecuteTests.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,8 @@ public void ExecuteScript_WindowsClearClipboard_IsSupported()
6969
{
7070
var driverOptions = FlaUIDriverOptions.TestApp();
7171
using var driver = new RemoteWebDriver(WebDriverFixture.WebDriverUrl, driverOptions);
72-
7372
driver.ExecuteScript("windows: setClipboard", new Dictionary<string, object> {
7473
["b64Content"] = "Pasted!"});
75-
7674
driver.ExecuteScript("windows: clearClipboard");
7775
var result = driver.ExecuteScript("windows: getClipboard", new Dictionary<string, object> {});
7876
Assert.That(result, Is.EqualTo(""));

0 commit comments

Comments
 (0)