Module: Selenium::WebDriver::DriverExtensions::DownloadsFiles Private
Relationships & Source Files | |
Defined in: | rb/lib/selenium/webdriver/common/driver_extensions/downloads_files.rb |
Instance Attribute Summary
-
#download_path=(path)
writeonly
Internal use only
Sets download path for
::Selenium::WebDriver::Chromium
.
Instance Attribute Details
#download_path=(path) (writeonly)
Sets download path for ::Selenium::WebDriver::Chromium
.
# File 'rb/lib/selenium/webdriver/common/driver_extensions/downloads_files.rb', line 30
def download_path=(path) params = { 'cmd' => 'Page.setDownloadBehavior', 'params' => { 'behavior' => 'allow', 'downloadPath' => path } } @bridge.send_command(params) end