1717
1818package org .openqa .selenium .remote ;
1919
20+ import static org .assertj .core .api .Assertions .assertThat ;
21+ import static org .assertj .core .api .Assertions .assertThatExceptionOfType ;
22+ import static org .openqa .selenium .OutputType .BASE64 ;
23+ import static org .openqa .selenium .testing .drivers .Browser .FIREFOX ;
24+ import static org .openqa .selenium .testing .drivers .Browser .HTMLUNIT ;
25+
2026import org .junit .Test ;
2127import org .openqa .selenium .By ;
2228import org .openqa .selenium .NoSuchElementException ;
2531import org .openqa .selenium .testing .Ignore ;
2632import org .openqa .selenium .testing .JUnit4TestBase ;
2733
28- import static org .assertj .core .api .Assertions .assertThat ;
29- import static org .assertj .core .api .Assertions .assertThatExceptionOfType ;
30- import static org .openqa .selenium .OutputType .BASE64 ;
31- import static org .openqa .selenium .testing .drivers .Browser .HTMLUNIT ;
32-
3334@ Ignore (HTMLUNIT )
3435public class RemoteWebDriverScreenshotTest extends JUnit4TestBase {
3536
@@ -50,6 +51,9 @@ public void testShouldBeAbleToGrabASnapshotOnException() {
5051 }
5152
5253 @ Test
54+ @ Ignore (value = FIREFOX , gitHubActions = true ,
55+ reason = "Augmenter does not work well with Firefox and RemoteWebDriver, "
56+ + "connection to CDP cannot be established" )
5357 public void testCanAugmentWebDriverInstanceIfNecessary () {
5458 if (!(driver instanceof RemoteWebDriver )) {
5559 System .out .println ("Skipping test: driver is not a remote webdriver" );
0 commit comments