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

15
LINES

< > BotCompany Repo | #1032350 // PlaywrightAndBrowser

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

Uses 64664K of libraries. Click here for Pure Java version (4423L/24K).

1  
!include once #1032300 // Playwright
2  
3  
sclass PlaywrightAndBrowser implements AutoCloseable {
4  
  Playwright playwright;
5  
  Browser browser;
6  
  
7  
  *(Playwright *playwright, Browser *browser) {}
8  
  
9  
  public void close {
10  
    dispose browser;
11  
    dispose playwright;
12  
  }
13  
  
14  
  public Browser get() { ret browser; }
15  
}

Author comment

Began life as a copy of #1032326

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1032350
Snippet name: PlaywrightAndBrowser
Eternal ID of this version: #1032350/5
Text MD5: 3d9554f523c57d5855eff29245e79e21
Transpilation MD5: a5d78bebfd4a22394076e3ce04b197e7
Author: stefan
Category: javax / networking
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-08-30 04:35:21
Source code size: 321 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 152 / 287
Version history: 4 change(s)
Referenced in: [show references]