|
17 | 17 |
|
18 | 18 | package org.openqa.selenium;
|
19 | 19 |
|
| 20 | +import org.junit.Test; |
| 21 | +import org.openqa.selenium.remote.CapabilityType; |
| 22 | +import org.openqa.selenium.support.ui.WebDriverWait; |
| 23 | +import org.openqa.selenium.testing.Ignore; |
| 24 | +import org.openqa.selenium.testing.JUnit4TestBase; |
| 25 | +import org.openqa.selenium.testing.NeedsFreshDriver; |
| 26 | +import org.openqa.selenium.testing.NoDriverAfterTest; |
| 27 | +import org.openqa.selenium.testing.NoDriverBeforeTest; |
| 28 | +import org.openqa.selenium.testing.NotYetImplemented; |
| 29 | +import org.openqa.selenium.testing.SwitchToTopAfterTest; |
| 30 | + |
| 31 | +import java.time.Duration; |
| 32 | +import java.util.Set; |
| 33 | + |
20 | 34 | import static org.assertj.core.api.Assertions.assertThat;
|
21 | 35 | import static org.assertj.core.api.Assertions.assertThatCode;
|
22 | 36 | import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
|
|
35 | 49 | import static org.openqa.selenium.testing.drivers.Browser.IE;
|
36 | 50 | import static org.openqa.selenium.testing.drivers.Browser.SAFARI;
|
37 | 51 |
|
38 |
| -import org.junit.Test; |
39 |
| -import org.openqa.selenium.remote.CapabilityType; |
40 |
| -import org.openqa.selenium.support.ui.WebDriverWait; |
41 |
| -import org.openqa.selenium.testing.Ignore; |
42 |
| -import org.openqa.selenium.testing.JUnit4TestBase; |
43 |
| -import org.openqa.selenium.testing.NeedsFreshDriver; |
44 |
| -import org.openqa.selenium.testing.NoDriverAfterTest; |
45 |
| -import org.openqa.selenium.testing.NoDriverBeforeTest; |
46 |
| -import org.openqa.selenium.testing.NotYetImplemented; |
47 |
| -import org.openqa.selenium.testing.SwitchToTopAfterTest; |
48 |
| - |
49 |
| -import java.time.Duration; |
50 |
| -import java.util.Set; |
51 |
| - |
52 | 52 | public class PageLoadingTest extends JUnit4TestBase {
|
53 | 53 |
|
54 | 54 | private void initDriverWithLoadStrategy(String strategy) {
|
@@ -245,7 +245,9 @@ public void testShouldBeAbleToLoadAPageWithFramesetsAndWaitUntilAllFramesAreLoad
|
245 | 245 | @NeedsFreshDriver
|
246 | 246 | @Test
|
247 | 247 | @NotYetImplemented(value = HTMLUNIT,
|
248 |
| - reason = "HtmlUnit: can't execute JavaScript before a page is loaded") |
| 248 | + reason = "HtmlUnit: can't execute JavaScript before a page is loaded") |
| 249 | + @NotYetImplemented(value = CHROME, |
| 250 | + reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4085") |
249 | 251 | @Ignore(value = SAFARI, reason = "Hanging")
|
250 | 252 | public void testShouldDoNothingIfThereIsNothingToGoBackTo() {
|
251 | 253 | Set<String> currentWindowHandles = driver.getWindowHandles();
|
|
0 commit comments