Skip to content

Commit

Permalink
Add Browserless tests using the remote browser service without docker
Browse files Browse the repository at this point in the history
  • Loading branch information
joffrey-bion committed Feb 10, 2025
1 parent 5226ac9 commit 5d49fe7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/jvmTest/kotlin/BrowserlessRemoteIntegrationTests.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
class BrowserlessRemoteIntegrationTests : IntegrationTestBase() {

private val token = System.getenv("BROWSERLESS_API_TOKEN")
?: error("BROWSERLESS_API_TOKEN environment variable is missing")

override val httpUrl: String
get() = "https://production-lon.browserless.io?token=${token}"

override val wsConnectUrl: String
get() = "wss://production-lon.browserless.io?token=${token}"
}

0 comments on commit 5d49fe7

Please sign in to comment.