Skip to content

Commit fa24b7c

Browse files
committed
Add Browserless tests using the remote browser service without docker
1 parent 18deb67 commit fa24b7c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
class BrowserlessRemoteIntegrationTests : IntegrationTestBase() {
2+
3+
private val token = System.getenv("BROWSERLESS_API_TOKEN")
4+
?: error("BROWSERLESS_API_TOKEN environment variable is missing")
5+
6+
override val httpUrl: String
7+
get() = "https://production-lon.browserless.io?token=${token}"
8+
9+
override val wsConnectUrl: String
10+
get() = "wss://production-lon.browserless.io?token=${token}"
11+
}

0 commit comments

Comments
 (0)