Method: Selenium::WebDriver::Chromium::Profile#add_extension
- Defined in:
- lib/selenium/webdriver/chromium/profile.rb
#add_extension(path) ⇒ Object
37 38 39 40 41 |
# File 'lib/selenium/webdriver/chromium/profile.rb', line 37 def add_extension(path) raise Error::WebDriverError, "could not find extension at #{path.inspect}" unless File.file?(path) @extensions << path end |