Skip to content

Commit a1c7460

Browse files
committed
Setting version to 0.1.12-SNAPSHOT
1 parent 484924a commit a1c7460

File tree

5 files changed

+7
-8
lines changed

5 files changed

+7
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ A JavaScript environment for Scala.js (a JSEnv) running playwright
55
Add the following line to your `project/plugins.sbt`
66
```scala
77
// For Scala.js 1.x
8-
libraryDependencies += "io.github.gmkumar2005" %% "scala-js-env-playwright" % "0.1.8"
8+
libraryDependencies += "io.github.gmkumar2005" %% "scala-js-env-playwright" % "0.1.11"
99
```
1010
Add the following line to your `build.sbt`
1111
```scala

build.sbt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,3 @@ lazy val root = (project in file("."))
6969
Test / publishArtifact := false,
7070
usePgpKeyHex("F7E440260BAE93EB4AD2723D6613CA76E011F638")
7171
)
72-
73-

src/main/scala/jsenv/playwright/CERun.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ class CERun(
3131
// receivedMessage is called only from JSComRun. Hence its implementation is empty in CERun
3232
protected def receivedMessage(msg: String): Unit = ()
3333

34-
/** A [[scala.concurrent.Future Future]] that completes if the run completes.
34+
/** A Future that completes if the run completes.
3535
*
3636
* The future is failed if the run fails.
3737
*
38-
* Note that a [[JSRun]] is not required to ever terminate on it's own. That
38+
* Note that a JSRun is not required to ever terminate on it's own. That
3939
* means even if all code is executed and the event loop is empty, the run
4040
* may continue to run. As a consequence, it is *not* correct to rely on
41-
* termination of a [[JSRun]] without any external means of stopping it (i.e.
41+
* termination of a JSRun without any external means of stopping it (i.e.
4242
* calling [[close]]).
4343
*/
4444
var wantToClose = new AtomicBoolean(false)
@@ -112,7 +112,7 @@ class CERun(
112112
* Whether or not this makes the run fail or not is up to the implementation.
113113
* However, in the following cases, calling [[close]] may not fail the run:
114114
* <ul> <li>[[future]] is already completed when [[close]] is called.
115-
* <li>This is a [[JSComRun]] and the event loop inside the VM is empty.
115+
* <li>This is a [[CERun]] and the event loop inside the VM is empty.
116116
* </ul>
117117
*
118118
* Idempotent, async, nothrow.

src/main/scala/jsenv/playwright/PWEnv.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ class PWEnv(
2222
.supportsOnOutputStream()
2323
}
2424
override val name: String = s"CEEnv with $browserName"
25+
System.setProperty("playwright.driver.impl", "jsenv.DriverJar")
2526
CEUtils.setupLogger(showLogs, debug)
2627

2728
override def start(input: Seq[Input], runConfig: RunConfig): JSRun = {

version.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ThisBuild / version := "0.1.9"
1+
ThisBuild / version := "0.1.12-SNAPSHOT"

0 commit comments

Comments
 (0)