Every time when I run my test first step is log in and than I get to desire page. If run this test often log in operation takes a lot of time.
How can I pass log in
In my case, the following code is working fine-
String token = tokenValue.substring(7); Cookie name = new Cookie("Token", token); driver.manage().addCookie(name);