|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectch.racic.selenium.helper.download.SeleniumDownloadHelper
public class SeleniumDownloadHelper
Created by rac on 08.06.14.
| Constructor Summary | |
|---|---|
SeleniumDownloadHelper(org.openqa.selenium.WebDriver driver)
Initialize the SeleniumDownloadHelper with the given driver as context. |
|
| Method Summary | |
|---|---|
File |
getFileFromUrl(URL url)
Executes XHR request trough JavaScript to download the given file in the context of the current WebDriver session. |
File |
getFileFromUrl(URL url,
File outputFile)
Executes XHR request trough JavaScript to download the given file in the context of the current WebDriver session. |
FileData |
getFileFromUrlRaw(URL url)
Executes XHR request trough JavaScript to download the given file in the context of the current WebDriver session. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SeleniumDownloadHelper(org.openqa.selenium.WebDriver driver)
throws IOException
driver -
IOException| Method Detail |
|---|
public FileData getFileFromUrlRaw(URL url)
url -
public File getFileFromUrl(URL url,
File outputFile)
throws IOException
url - outputFile -
IOException
public File getFileFromUrl(URL url)
throws IOException
url -
IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||