We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 184f8a1 commit 10cce84Copy full SHA for 10cce84
dotnet/test/remote/RemoteWebDriverSpecificTests.cs
@@ -1,5 +1,8 @@
1
-using System;
+using System;
2
+using System.Collections.ObjectModel;
3
+using System.Text;
4
using NUnit.Framework;
5
+using OpenQA.Selenium.Environment;
6
7
namespace OpenQA.Selenium.Remote
8
{
@@ -62,7 +65,8 @@ public void ShouldBeAbleToSendFileToRemoteServer()
62
65
63
66
private void CreateTempFile(string content)
64
67
- testFile = new System.IO.FileInfo("webdriver.tmp");
68
+ string testFileName = System.IO.Path.Combine(EnvironmentManager.Instance.CurrentDirectory, "webdriver.tmp");
69
+ testFile = new System.IO.FileInfo(testFileName);
70
if (testFile.Exists)
71
72
testFile.Delete();
0 commit comments