File tree 2 files changed +10
-1
lines changed
2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ public Executable(string userSpecifiedBinaryPath)
70
70
}
71
71
72
72
throw new WebDriverException ( "Cannot find Firefox binary in PATH or default install locations. " +
73
- "Make sure Firefox is installed. OS appears to be: " + Platform . CurrentPlatform ) ;
73
+ "Make sure Firefox is installed. OS appears to be: " + Platform . CurrentPlatform . ToString ( ) ) ;
74
74
}
75
75
#endregion
76
76
Original file line number Diff line number Diff line change @@ -204,5 +204,14 @@ public bool IsPlatformType(PlatformType compareTo)
204
204
205
205
return platformIsType ;
206
206
}
207
+
208
+ /// <summary>
209
+ /// Returns the string value for this platform type.
210
+ /// </summary>
211
+ /// <returns>The string value for this platform type.</returns>
212
+ public override string ToString ( )
213
+ {
214
+ return this . platformTypeValue . ToString ( ) ;
215
+ }
207
216
}
208
217
}
You can’t perform that action at this time.
0 commit comments