How to use the testcafe-hammerhead.RequestFilterRule.ANY function in testcafe-hammerhead

To help you get started, we’ve selected a few testcafe-hammerhead examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github DevExpress / testcafe / src / api / request-hooks / hook.js View on Github external
_prepareRequestFilterRules (rules) {
        if (rules)
            return castArray(rules);

        return [RequestFilterRule.ANY];
    }
github DevExpress / testcafe / src / custom-client-scripts / client-script.ts View on Github external
public constructor (init: string | ClientScriptInit, basePath: string) {
        this.init     = init || null;
        this.url      = generateUniqueId(URL_UNIQUE_PART_LENGTH);
        this.content  = '';
        this.path     = null;
        this.module   = null;
        this.hash     = null;
        this.page     = RequestFilterRule.ANY;
        this.basePath = basePath;
    }

testcafe-hammerhead

A powerful web-proxy used as a core for the TestCafe testing framework (https://github.com/DevExpress/testcafe).

MIT
Latest version published 2 days ago

Package Health Score

86 / 100
Full package analysis

Similar packages