UNPKG

e2ed

Version:

E2E testing framework over Playwright

15 lines (14 loc) 474 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getMainRequestOptions = void 0; /** * Get main request options for display in logs. * @internal */ const getMainRequestOptions = (playwrightRequest) => { const headers = playwrightRequest.headers(); const method = playwrightRequest.method(); const url = playwrightRequest.url(); return { headers, method, url }; }; exports.getMainRequestOptions = getMainRequestOptions;