@letsscrapedata/controller 0.0.9 → 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -0
- package/dist/index.d.cts +10 -2
- package/dist/index.d.ts +10 -2
- package/dist/index.js +1 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -58,6 +58,7 @@ __export(src_exports, {
|
|
|
58
58
|
PuppeteerBrowserContext: () => PuppeteerBrowserContext,
|
|
59
59
|
PuppeteerElement: () => PuppeteerElement,
|
|
60
60
|
PuppeteerPage: () => PuppeteerPage,
|
|
61
|
+
controller: () => controller,
|
|
61
62
|
defaultProxy: () => defaultProxy
|
|
62
63
|
});
|
|
63
64
|
module.exports = __toCommonJS(src_exports);
|
|
@@ -17308,5 +17309,6 @@ var controller = new LsdBrowserController();
|
|
|
17308
17309
|
PuppeteerBrowserContext,
|
|
17309
17310
|
PuppeteerElement,
|
|
17310
17311
|
PuppeteerPage,
|
|
17312
|
+
controller,
|
|
17311
17313
|
defaultProxy
|
|
17312
17314
|
});
|
package/dist/index.d.cts
CHANGED
|
@@ -907,7 +907,7 @@ interface LsdBrowser extends EventEmitter {
|
|
|
907
907
|
version(): Promise<string>;
|
|
908
908
|
_origBrowserContexts(): AllBrowserContext[];
|
|
909
909
|
}
|
|
910
|
-
interface LsdBrowserController {
|
|
910
|
+
interface LsdBrowserController$1 {
|
|
911
911
|
launch(browserControllerType: BrowserControllerType, browserType: LsdBrowserType, options?: LsdLaunchOptions): Promise<LsdBrowser>;
|
|
912
912
|
connect(browserControllerType: BrowserControllerType, browserType: LsdBrowserType, options?: LsdConnectOptions): Promise<LsdBrowser>;
|
|
913
913
|
}
|
|
@@ -1227,4 +1227,12 @@ declare class CheerioElement implements LsdElement {
|
|
|
1227
1227
|
scrollIntoView(): Promise<boolean>;
|
|
1228
1228
|
}
|
|
1229
1229
|
|
|
1230
|
-
|
|
1230
|
+
declare class LsdBrowserController implements LsdBrowserController$1 {
|
|
1231
|
+
#private;
|
|
1232
|
+
constructor();
|
|
1233
|
+
launch(browserControllerType: BrowserControllerType, browserType: LsdBrowserType, options: LsdLaunchOptions): Promise<LsdBrowser>;
|
|
1234
|
+
connect(browserControllerType: BrowserControllerType, browserType: LsdBrowserType, options: LsdConnectOptions): Promise<LsdBrowser>;
|
|
1235
|
+
}
|
|
1236
|
+
declare const controller: LsdBrowserController;
|
|
1237
|
+
|
|
1238
|
+
export { type AllBrowser, type AllBrowserContext, type AllFrame, type AllPage, type AllResponse, type BrowserControllerOptions, type BrowserControllerType, type BrowserCreationMethod, type BrowserManager, CheerioElement, type CheerioNode, CheerioPage, type CookieItem, type GotoOptions, type IframeOption, type InputOptions, type KeyInput, type KeyPressOptions, type LocalStorageItem, type LocalStorageOrigin, type LowerCasePaperFormat, type LsdBrowser, type LsdBrowserContext, type LsdBrowserContextOptions, type LsdBrowserController$1 as LsdBrowserController, type LsdBrowserType, type LsdConnectOptions, type LsdElement, type LsdLaunchOptions, type LsdPage, type MouseClickOptions, type MouseClickType, type NavigationWaitUntil, type PDFMargin, type PDFOptions, type PageEvent, type PageExtInPlaywright, type PageExtInPuppeteer, type PageInfo, type PageOpenType, type PageStatus, type PaperFormat, PlaywrightBrowser, PlaywrightBrowserContext, PlaywrightElement, PlaywrightPage, type Proxy, PuppeteerBrowser, PuppeteerBrowserContext, PuppeteerElement, PuppeteerPage, type RequestInterceptionAction, type RequestInterceptionOption, type RequestMatch, type RequestMethod, type RequestResourceType, type ResponseHandler, type ResponseHandlerOptions, type ResponseInterceptionItem, type ResponseInterceptionOption, type ResponseMatch, type ScreenshotOptions, type SelectOptions, type StateData, type UpdatablePageInfo, type ViewportSize, type WaitElementOptions, type WaitElementState, type WaitNavigationOptions, controller, defaultProxy };
|
package/dist/index.d.ts
CHANGED
|
@@ -907,7 +907,7 @@ interface LsdBrowser extends EventEmitter {
|
|
|
907
907
|
version(): Promise<string>;
|
|
908
908
|
_origBrowserContexts(): AllBrowserContext[];
|
|
909
909
|
}
|
|
910
|
-
interface LsdBrowserController {
|
|
910
|
+
interface LsdBrowserController$1 {
|
|
911
911
|
launch(browserControllerType: BrowserControllerType, browserType: LsdBrowserType, options?: LsdLaunchOptions): Promise<LsdBrowser>;
|
|
912
912
|
connect(browserControllerType: BrowserControllerType, browserType: LsdBrowserType, options?: LsdConnectOptions): Promise<LsdBrowser>;
|
|
913
913
|
}
|
|
@@ -1227,4 +1227,12 @@ declare class CheerioElement implements LsdElement {
|
|
|
1227
1227
|
scrollIntoView(): Promise<boolean>;
|
|
1228
1228
|
}
|
|
1229
1229
|
|
|
1230
|
-
|
|
1230
|
+
declare class LsdBrowserController implements LsdBrowserController$1 {
|
|
1231
|
+
#private;
|
|
1232
|
+
constructor();
|
|
1233
|
+
launch(browserControllerType: BrowserControllerType, browserType: LsdBrowserType, options: LsdLaunchOptions): Promise<LsdBrowser>;
|
|
1234
|
+
connect(browserControllerType: BrowserControllerType, browserType: LsdBrowserType, options: LsdConnectOptions): Promise<LsdBrowser>;
|
|
1235
|
+
}
|
|
1236
|
+
declare const controller: LsdBrowserController;
|
|
1237
|
+
|
|
1238
|
+
export { type AllBrowser, type AllBrowserContext, type AllFrame, type AllPage, type AllResponse, type BrowserControllerOptions, type BrowserControllerType, type BrowserCreationMethod, type BrowserManager, CheerioElement, type CheerioNode, CheerioPage, type CookieItem, type GotoOptions, type IframeOption, type InputOptions, type KeyInput, type KeyPressOptions, type LocalStorageItem, type LocalStorageOrigin, type LowerCasePaperFormat, type LsdBrowser, type LsdBrowserContext, type LsdBrowserContextOptions, type LsdBrowserController$1 as LsdBrowserController, type LsdBrowserType, type LsdConnectOptions, type LsdElement, type LsdLaunchOptions, type LsdPage, type MouseClickOptions, type MouseClickType, type NavigationWaitUntil, type PDFMargin, type PDFOptions, type PageEvent, type PageExtInPlaywright, type PageExtInPuppeteer, type PageInfo, type PageOpenType, type PageStatus, type PaperFormat, PlaywrightBrowser, PlaywrightBrowserContext, PlaywrightElement, PlaywrightPage, type Proxy, PuppeteerBrowser, PuppeteerBrowserContext, PuppeteerElement, PuppeteerPage, type RequestInterceptionAction, type RequestInterceptionOption, type RequestMatch, type RequestMethod, type RequestResourceType, type ResponseHandler, type ResponseHandlerOptions, type ResponseInterceptionItem, type ResponseInterceptionOption, type ResponseMatch, type ScreenshotOptions, type SelectOptions, type StateData, type UpdatablePageInfo, type ViewportSize, type WaitElementOptions, type WaitElementState, type WaitNavigationOptions, controller, defaultProxy };
|
package/dist/index.js
CHANGED
|
@@ -17288,5 +17288,6 @@ export {
|
|
|
17288
17288
|
PuppeteerBrowserContext,
|
|
17289
17289
|
PuppeteerElement,
|
|
17290
17290
|
PuppeteerPage,
|
|
17291
|
+
controller,
|
|
17291
17292
|
defaultProxy
|
|
17292
17293
|
};
|
package/package.json
CHANGED