Skip to content

Commit

Permalink
Select msedgedriver build based on bitsize (32/64-bit) on Windows and…
Browse files Browse the repository at this point in the history
… WSLv1
  • Loading branch information
kapoorlakshya committed Jan 17, 2021
1 parent b875f79 commit 525462a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/webdrivers/edgedriver.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ def linux_compatible?(driver_version)
end

def driver_filename(driver_version)
if System.platform == 'win'
'win32'
if System.platform == 'win' || System.wsl_v1?
"win#{System.bitsize}" # 32 or 64-bit
elsif linux_compatible?(driver_version)
'linux64'
elsif System.platform == 'mac'
Expand Down

0 comments on commit 525462a

Please sign in to comment.