chromancer
Version:
A powerful command-line interface for automating Chrome browser using Playwright. Perfect for web scraping, automation, testing, and browser workflows.
19 lines (18 loc) • 691 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const screenshot_js_1 = tslib_1.__importDefault(require("./screenshot.js"));
class Shot extends screenshot_js_1.default {
static description = 'Alias for screenshot - capture the page';
static examples = [
'<%= config.bin %> <%= command.id %> output.png',
'<%= config.bin %> <%= command.id %> --selector ".main-content"',
];
static args = screenshot_js_1.default.args;
static flags = screenshot_js_1.default.flags;
async run() {
// Simply run the parent screenshot command
await super.run();
}
}
exports.default = Shot;