webdriverio
Version:
Next-gen browser and mobile automation test framework for Node.js
19 lines • 516 B
TypeScript
type PDFPrintOptions = {
orientation?: string;
scale?: number;
background?: boolean;
width?: number;
height?: number;
top?: number;
bottom?: number;
left?: number;
right?: number;
shrinkToFit?: boolean;
pageRanges?: object[];
};
/**
* Command implementation of the `savePDF` command.
*/
export declare function savePDF(this: WebdriverIO.Browser, filepath: string, options?: PDFPrintOptions): Promise<Buffer<ArrayBuffer>>;
export {};
//# sourceMappingURL=savePDF.d.ts.map