Run selenium tests with chrome
MODIFY
instrumentation/gwt-2.0/javaagent/src/test/groovy/GwtTest.groovy
instrumentation/gwt-2.0/javaagent/src/test/groovy/GwtTest.groovy
@@ -11,7 +11,7 @@ import io.opentelemetry.semconv.trace.attributes.SemanticAttributes
import org.eclipse.jetty.server.Server
import org.eclipse.jetty.util.resource.Resource
import org.eclipse.jetty.webapp.WebAppContext
-import org.openqa.selenium.firefox.FirefoxOptions
+import org.openqa.selenium.chrome.ChromeOptions
import org.slf4j.Logger
import org.slf4j.LoggerFactory
import org.testcontainers.Testcontainers
@@ -54,7 +54,7 @@ class GwtTest extends AgentInstrumentationSpecification implements HttpServerTes
Testcontainers.exposeHostPorts(port)
browser = new BrowserWebDriverContainer<>()
- .withCapabilities(new FirefoxOptions())
+ .withCapabilities(new ChromeOptions())
.withLogConsumer(new Slf4jLogConsumer(logger))
browser.start()

MODIFY
instrumentation/vaadin-14.2/testing/src/main/groovy/test/vaadin/AbstractVaadinTest.groovy
instrumentation/vaadin-14.2/testing/src/main/groovy/test/vaadin/AbstractVaadinTest.groovy
@@ -11,7 +11,7 @@ import io.opentelemetry.api.trace.SpanKind
import io.opentelemetry.instrumentation.test.AgentInstrumentationSpecification
import io.opentelemetry.instrumentation.test.asserts.TraceAssert
import io.opentelemetry.instrumentation.test.base.HttpServerTestTrait
-import org.openqa.selenium.firefox.FirefoxOptions
+import org.openqa.selenium.chrome.ChromeOptions
import org.slf4j.Logger
import org.slf4j.LoggerFactory
import org.springframework.boot.SpringApplication
@@ -48,7 +48,7 @@ abstract class AbstractVaadinTest extends AgentInstrumentationSpecification impl
Testcontainers.exposeHostPorts(port)
browser = new BrowserWebDriverContainer<>()
- .withCapabilities(new FirefoxOptions())
+ .withCapabilities(new ChromeOptions())
.withLogConsumer(new Slf4jLogConsumer(logger))
browser.start()

Run selenium tests with chrome (#4393)