package org.fluentlenium.integration;
import org.fluentlenium.integration.localtest.IntegrationFluentTest;
import org.junit.Test;
import static org.assertj.core.api.Assertions.assertThat;
public class ParamTest extends IntegrationFluentTest {
@Test
public void checkTitleParam() {
goTo(DEFAULT_URL);
assertThat(window().title()).contains("Selenium");
}
@Test
public void checkUrlParam() {
goTo(DEFAULT_URL);
assertThat(url()).isEqualTo(DEFAULT_URL);
}
@Test
public void checkPageSource() {
goTo(DEFAULT_URL);
assertThat(pageSource()).contains("body");
}
}