Selenide- different between open() & navigate & get
There is no big difference. open(url)
is a synonym for driver.navigate().to(url);
Also, method open(url)
supports relative urls. So you can set base url once and use relative urls all over your tests:
public void setUp() { Configuration.baseUrl = "http://localhost:8888";}@Testpublic void test1() { open("/payments/index"); ...}