Skip to content

Commit 15d5132

Browse files
committed
Hidden client
1 parent 5714848 commit 15d5132

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

index.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1-
export * from './src';
1+
// export * from './src';
22

3+
import {RemoteScreenCapture} from './src';
4+
5+
RemoteScreenCapture.take('https://www.hax0r.info');

src/remote-screen-capture.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ export class RemoteScreenCapture {
1111
return of(new Builder()
1212
.withCapabilities(Capabilities.chrome())
1313
.setChromeOptions(
14-
new chrome.Options()
15-
.addExtensions()
14+
new chrome.Options().headless().addExtensions()
1615
)
1716
.build());
1817
}

0 commit comments

Comments
 (0)