Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

26
LINES

< > BotCompany Repo | #1032301 // tempPlaywright - be sure to clean it up

JavaX fragment (include) [tags: use-pretranspiled]

Transpiled version (3896L) is out of date.

1  
!include once #1032300 // Playwright
2  
3  
static Playwright tempPlaywright() ctex {
4  
  print("Creating Playwright instance");
5  
  fixContextClassLoader();
6  
  
7  
  // HUNTING THE STICKY LIBRARY BUG
8  
  
9  
  /*Class driverJarClass = classForName("com.microsoft.playwright.impl.DriverJar");
10  
  print(+driverJarClass);
11  
  S platformDir = cast call(driverJarClass, "platformDir");
12  
  print(+platformDir);
13  
  
14  
  ClassLoader classloader = Thread.currentThread().getContextClassLoader();
15  
  print(+classloader);
16  
  
17  
  print(parentMap := rcallOpt parentMap(classloader));
18  
  
19  
  ClassLoader parent = classloader.getParent();
20  
  print(+parent);
21  
  
22  
  URI originalUri = classloader.getResource("driver/" + platformDir).toURI();
23  
  print(+originalUri);*/
24  
25  
  ret Playwright.create();
26  
}

Author comment

Began life as a copy of #1032268

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx

No comments. add comment

Snippet ID: #1032301
Snippet name: tempPlaywright - be sure to clean it up
Eternal ID of this version: #1032301/10
Text MD5: 4997de599d5a8727a515924847469413
Author: stefan
Category: javax / networking
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-05 18:15:38
Source code size: 772 bytes / 26 lines
Pitched / IR pitched: No / No
Views / Downloads: 93 / 151
Version history: 9 change(s)
Referenced in: [show references]