We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5714848 commit 15d5132Copy full SHA for 15d5132
index.ts
@@ -1,2 +1,5 @@
1
-export * from './src';
+// export * from './src';
2
3
+import {RemoteScreenCapture} from './src';
4
+
5
+RemoteScreenCapture.take('https://www.hax0r.info');
src/remote-screen-capture.ts
@@ -11,8 +11,7 @@ export class RemoteScreenCapture {
11
return of(new Builder()
12
.withCapabilities(Capabilities.chrome())
13
.setChromeOptions(
14
- new chrome.Options()
15
- .addExtensions()
+ new chrome.Options().headless().addExtensions()
16
)
17
.build());
18
}
0 commit comments