Может ли драйвер запомнить сеанс входа в систему, чтобы он не возвращал меня на страницу входа (например, как google-chrome)?
это то, чем я сейчас занимаюсь
public static void main(String[] args) throws Exception {
driver = new ChromeDriver();
// I get redirected to login page
driver.get("http://localhost/interestingStuff");
// logins in to the page and submits(note I try to omit this part if possible).
login();
doStuff();
//I want to be able to keep session next time I start this program.
driver.close();
}
Подробнее здесь: https://stackoverflow.com/questions/328 ... er-in-java
Мобильная версия