Method: Selenium::WebDriver::Platform.assert_executable

Defined in:
lib/selenium/webdriver/common/platform.rb

.assert_executable(path) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



147
148
149
150
151
152
153
# File 'lib/selenium/webdriver/common/platform.rb', line 147

def assert_executable(path)
  assert_file(path)

  return if File.executable? path

  raise Error::WebDriverError, "not executable: #{path.inspect}"
end