Skip to content

Commit 9caa7cd

Browse files
committed
remove unnecessary dependency
1 parent bb8e5c1 commit 9caa7cd

File tree

4 files changed

+8
-15
lines changed

4 files changed

+8
-15
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Central** <img src="https://search.maven.org/favicon.ico" width="16" height="16"
1515
Then, copy the declaration for your build tool. E.g.:
1616

1717
```kotlin
18-
implementation("com.luissoares:selenium-testing-library:3.7.5")
18+
implementation("com.luissoares:selenium-testing-library:3.7.6")
1919
```
2020

2121
---

lib/build.gradle.kts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ dependencies {
1717
implementation("org.seleniumhq.selenium:selenium-java:4.18.1")
1818
testImplementation(kotlin("test"))
1919
testImplementation("org.junit.jupiter:junit-jupiter-params:5.10.2")
20-
testImplementation("io.github.bonigarcia:webdrivermanager:5.6.4")
2120
}
2221

2322
tasks.test {
@@ -29,7 +28,7 @@ java {
2928
withJavadocJar()
3029
}
3130

32-
version = "3.7.5"
31+
version = "3.7.6"
3332
group = "com.luissoares"
3433

3534
publishing {
@@ -43,7 +42,7 @@ publishing {
4342
artifact(tasks["javadocJar"])
4443
pom {
4544
name.set("Selenium Testing Library")
46-
description.set("Selenium locators that resemble the Testing Library (testing-library.com).")
45+
description.set("Selenium locators that resemble the Testing Library (testing-library.com)")
4746
url.set("https://github.com/lsoares/selenium-testing-library")
4847
licenses {
4948
license {

lib/src/test/kotlin/seleniumtestinglib/DriverLifeCycle.kt

Lines changed: 0 additions & 10 deletions
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
package seleniumtestinglib
22

3+
import org.openqa.selenium.chrome.ChromeDriver
4+
import org.openqa.selenium.chrome.ChromeOptions
35
import org.openqa.selenium.remote.RemoteWebDriver
46
import seleniumtestinglib.interactions.User
57
import seleniumtestinglib.interactions.user
68

9+
val driver = ChromeDriver(ChromeOptions().addArguments("--headless"))
10+
711
fun RemoteWebDriver.render(body: String): User {
812
get(body.asDataUrl())
913
return user
1014
}
1115

12-
internal fun String.asDataUrl() =
16+
fun String.asDataUrl() =
1317
"""data:text/html;charset=utf-8,<html><body>${this}</body></html>"""

0 commit comments

Comments
 (0)