Hi everyone,
I'm a beginner in java & selenium.
For my website, i need to test some feature, and i need to simulate a flux to this website.
So i decided to developpe a bot that will go on the website thank to a link ( 2 lignes of code, great !)
But there is a problème, the website see that's the same session, so my test can't be validated.
How do i do to make my bot change is IP adresse every time he goes on the website ?
Here is my code, really basic. Any idea guys ?
package bots;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
public class Main {
public static void main(String[] args) {
WebDriver driver = new FirefoxDriver();
}
}