You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 4, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -41,10 +41,16 @@ CONTAINER ID IMAGE ... PORTS
41
41
I am describing basic setup here. For details, have a look at [HelloControllerIT.java](src/test/java/schulte/markus/seleniumstandalonechromespringboot/controller/HelloControllerIT.java),
42
42
which is straight-forward.
43
43
44
-
Selenium provides a docker-image [selenium/standalone-chrome-debug](https://hub.docker.com/r/selenium/standalone-chrome-debug/).
44
+
Selenium provides a docker-image [selenium/standalone-chrome](https://hub.docker.com/r/selenium/standalone-chrome-debug/).
45
45
You can use this docker-image within your test by using [Docker Compose JUnit Rule](https://github.com/palantir/docker-compose-rule).
46
46
You have to use [selenium-java](http://central.maven.org/maven2/org/seleniumhq/selenium/selenium-java/), of course.
47
47
By using [WebDriverManager](https://github.com/bonigarcia/webdrivermanager), there is no need to care for downloading
48
48
a [Selenium WebDriver](http://www.seleniumhq.org/docs/03_webdriver.jsp) yourself.
49
49
50
-
50
+
When running [HelloControllerIT.java](src/test/java/schulte/markus/seleniumstandalonechromespringboot/controller/HelloControllerIT.java),
51
+
a selenium/standalone-chrome -container is started, while this Spring Boot application is
52
+
launched with a random port on localhost. Now in the test, you can use Selenium-RemoteWebDriver to
53
+
connect to the running Selenium-Hub within the selenium/standalone-chrome -container.
0 commit comments