![JAR search and dependency download from the Maven repository](/logo.png)
com.github.mike10004.seleniumhelp.TrafficGenerator Maven / Gradle / Ivy
package com.github.mike10004.seleniumhelp;
import org.openqa.selenium.WebDriver;
import java.io.IOException;
/**
*
* @param result type
*/
public interface TrafficGenerator {
/**
* Generates HTTP traffic. Implement this method with code that makes use of a webdriver
* to automate network activity that will be captured in the har returned by
* {@link TrafficCollector#collect(TrafficGenerator)}.
* @param driver the webdriver
* @return the result
* @throws IOException if something goes awry
*/
R generate(WebDriver driver) throws IOException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy