/*
 * (C) Copyright 2017 Boni Garcia (http://bonigarcia.github.io/)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */
package io.github.bonigarcia.seljup.test.basic;

// tag::snippet-in-doc[]
import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.MatcherAssert.assertThat;

import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.openqa.selenium.ie.InternetExplorerDriver;

import io.github.bonigarcia.seljup.SeleniumJupiter;

@Disabled("Internet Explorer is deprecated and thus it should be avoided if possible")
@ExtendWith(SeleniumJupiter.class)
class InternetExplorerJupiterTest {

    @Test
    void webrtcTest(InternetExplorerDriver driver) {
        driver.get("https://bonigarcia.github.io/selenium-jupiter/");
        assertThat(driver.getTitle(),
                containsString("JUnit 5 extension for Selenium"));
    }

}
// end::snippet-in-doc[]

@@ -720,86 +720,35 @@
 org.
-hamcrest.CoreMatchers.containsString;%0Aimport static org.hamcrest.Matcher
+assertj.core.api.
 Assert
+ions
 .ass
@@ -1318,17 +1318,17 @@
 tTitle()
-,
+)
 %0A       
@@ -1340,16 +1340,17 @@
     
+.
 contains
 Stri
@@ -1349,14 +1349,8 @@
 ains
-String
 (%22JU
@@ -1379,17 +1379,16 @@
 lenium%22)
-)
 ;%0A    %7D%0A

Fix imports in IExplorer test