Skip to content

Commit 1f484cc

Browse files
committed
Removing tests using deprecating methods.
1 parent 7cc4425 commit 1f484cc

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -46,28 +46,12 @@ void testCreateAWindow() {
4646
Assertions.assertNotNull(browsingContext.getId());
4747
}
4848

49-
@Test
50-
void testCreateAWindowWithAReferenceContext() {
51-
BrowsingContext
52-
browsingContext =
53-
new BrowsingContext(driver, WindowType.WINDOW, driver.getWindowHandle());
54-
Assertions.assertNotNull(browsingContext.getId());
55-
}
56-
5749
@Test
5850
void testCreateATab() {
5951
BrowsingContext browsingContext = new BrowsingContext(driver, WindowType.TAB);
6052
Assertions.assertNotNull(browsingContext.getId());
6153
}
6254

63-
@Test
64-
void testCreateATabWithAReferenceContext() {
65-
BrowsingContext
66-
browsingContext =
67-
new BrowsingContext(driver, WindowType.TAB, driver.getWindowHandle());
68-
Assertions.assertNotNull(browsingContext.getId());
69-
}
70-
7155
@Test
7256
void testNavigateToAUrl() {
7357
BrowsingContext browsingContext = new BrowsingContext(driver, WindowType.TAB);

0 commit comments

Comments
 (0)