Skip to content

Commit 29af9f4

Browse files
committed
[no ci] update docs for debug-server change
1 parent 4b36ecf commit 29af9f4

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

karate-core/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ Combined with Docker, headless Chrome and Karate's [parallel-execution capabilit
433433
Karate has a built-in implementation for Docker ([`DockerTarget`](src/main/java/com/intuit/karate/driver/DockerTarget.java)) that supports 2 existing Docker images out of the box:
434434

435435
* [`justinribeiro/chrome-headless`](https://hub.docker.com/r/justinribeiro/chrome-headless/) - for Chrome "native" in [headless mode](https://developers.google.com/web/updates/2017/04/headless-chrome)
436-
* [`ptrthomas/karate-chrome`](#karate-chrome) - for Chrome "native" but with an option to connect to the container and view via VNC, and with video-recording
436+
* [`karatelabs/karate-chrome`](#karate-chrome) - for Chrome "native" but with an option to connect to the container and view via VNC, and with video-recording
437437

438438
To use either of the above, you do this in a Karate test:
439439

@@ -449,7 +449,7 @@ function fn() {
449449
baseUrl: 'https://qa.mycompany.com'
450450
};
451451
if (karate.env == 'ci') {
452-
karate.configure('driverTarget', { docker: 'ptrthomas/karate-chrome' });
452+
karate.configure('driverTarget', { docker: 'karatelabs/karate-chrome' });
453453
}
454454
return config;
455455
}
@@ -458,7 +458,7 @@ function fn() {
458458
To use the [recommended `--security-opt seccomp=chrome.json` Docker option](https://hub.docker.com/r/justinribeiro/chrome-headless/), add a `secComp` property to the `driverTarget` configuration. And if you need to view the container display via VNC, set the `vncPort` to map the port exposed by Docker.
459459

460460
```javascript
461-
karate.configure('driverTarget', { docker: 'ptrthomas/karate-chrome', secComp: 'src/test/java/chrome.json', vncPort: 5900 });
461+
karate.configure('driverTarget', { docker: 'karatelabs/karate-chrome', secComp: 'src/test/java/chrome.json', vncPort: 5900 });
462462
```
463463

464464
### Custom `Target`
@@ -487,7 +487,7 @@ If the machine where you are running Karate is not the same as your target host
487487
Another (simple) example of a custom `Target` you can use as a reference is this one: [`karate-devicefarm-demo`](https://github.com/ptrthomas/karate-devicefarm-demo) - which demonstrates how Karate can be used to drive tests on [AWS DeviceFarm](https://docs.aws.amazon.com/devicefarm/latest/testgrid/what-is-testgrid.html). The same approach should apply to any Selenium "grid" provider such as [Zalenium](https://opensource.zalando.com/zalenium/).
488488

489489
### `karate-chrome`
490-
The [`karate-chrome`](https://hub.docker.com/r/ptrthomas/karate-chrome) Docker is an image created from scratch, using a Java / Maven image as a base and with the following features:
490+
The [`karate-chrome`](https://hub.docker.com/r/karatelabs/karate-chrome) Docker is an image created from scratch, using a Java / Maven image as a base and with the following features:
491491

492492
* Chrome in "full" mode (non-headless)
493493
* [Chrome DevTools protocol](https://chromedevtools.github.io/devtools-protocol/) exposed on port 9222
@@ -498,7 +498,7 @@ The [`karate-chrome`](https://hub.docker.com/r/ptrthomas/karate-chrome) Docker i
498498
To try this or especially when you need to investigate why a test is not behaving properly when running within Docker, these are the steps:
499499

500500
* start the container:
501-
* `docker run --name karate --rm -p 9222:9222 -p 5900:5900 -e KARATE_SOCAT_START=true --cap-add=SYS_ADMIN ptrthomas/karate-chrome`
501+
* `docker run --name karate --rm -p 9222:9222 -p 5900:5900 -e KARATE_SOCAT_START=true --cap-add=SYS_ADMIN karatelabs/karate-chrome`
502502
* it is recommended to use [`--security-opt seccomp=chrome.json`](https://hub.docker.com/r/justinribeiro/chrome-headless/) instead of `--cap-add=SYS_ADMIN`
503503
* point your VNC client to `localhost:5900` (password: `karate`)
504504
* for example on a Mac you can use this command: `open vnc://localhost:5900`

karate-netty/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ java -jar karate.jar -T 5 -C src/features
320320
```
321321

322322
#### Debug Server
323-
The `-d` or `--debug` option will start a debug server. See the [Debug Server wiki](https://github.com/karatelabs/karate/wiki/Debug-Server#standalone-jar) for more details.
323+
The `-d` or `--debug` option will start a debug server. See the [Debug Server wiki](https://github.com/karatelabs/karate/wiki/Debug-Server) for more details.
324324

325325
## Custom Classpath
326326
Karate allows you to use custom Java code or 3rd party Java libraries using [Java interop](https://github.com/karatelabs/karate#calling-java). Normally those who do this use Karate in the context of [Maven](https://maven.apache.org) or [Gradle](https://gradle.org) - and the [classpath](https://github.com/karatelabs/karate#classpath) would be set automatically.

0 commit comments

Comments
 (0)