Commit e9727a7 1 parent d5275e4 commit e9727a7 Copy full SHA for e9727a7
File tree 2 files changed +3
-3
lines changed
src/main/java/com/osiris/headlessbrowser
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 6
6
7
7
<groupId >com.osiris.headlessbrowser</groupId >
8
8
<artifactId >Headless-Browser</artifactId >
9
- <version >1.4 </version >
9
+ <version >1.5 </version >
10
10
<repositories >
11
11
<repository >
12
12
<id >jitpack</id >
Original file line number Diff line number Diff line change @@ -108,9 +108,9 @@ public Document getDocument() {
108
108
* Note that the current {@link NodeContext} must have been initialised with a debugOutputStream to see JavaScript console output. <br>
109
109
*/
110
110
public PlaywrightWindow executeJS (String jsCode ) throws NodeJsCodeException {
111
- jsContext .executeJavaScript ("await page.evaluate(() => { \n " +
111
+ jsContext .executeJavaScript ("await page.evaluate(` \n " +
112
112
jsCode +
113
- "} );\n " );
113
+ "` );\n " );
114
114
return this ;
115
115
}
116
116
You can’t perform that action at this time.
0 commit comments