-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[rb] allow Selenium Manager to work with Unix
Include warning since user must set compatibility mode in a supported Unix flavor fixes #13161
- Loading branch information
1 parent
c535217
commit 6814b9d
Showing
2 changed files
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,6 +86,10 @@ def linux? | |
os == :linux | ||
end | ||
|
||
def unix? | ||
os == :unix | ||
end | ||
|
||
def wsl? | ||
return false unless linux? | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters