# File lib/selenium/webdriver/common/platform.rb, line 112 def assert_executable(path) assert_file(path) unless File.executable? path raise Error::WebDriverError, "not executable: #{path.inspect}" end end