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.
139 140 141 142 143 144 145 |
# File 'lib/selenium/webdriver/common/platform.rb', line 139 def assert_executable(path) assert_file(path) return if File.executable? path raise Error::WebDriverError, "not executable: #{path.inspect}" end |