@bigbinary/neeto-playwright-commons 1.17.6 → 1.17.7
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/index.cjs.js +3 -0
- package/index.cjs.js.map +1 -1
- package/index.d.ts +3 -0
- package/index.js +3 -0
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -3904,6 +3904,9 @@ class CustomCommands {
|
|
|
3904
3904
|
.getAttribute("content");
|
|
3905
3905
|
return this.csrfToken;
|
|
3906
3906
|
};
|
|
3907
|
+
/**
|
|
3908
|
+
* @deprecated Use UI assertions instead.
|
|
3909
|
+
*/
|
|
3907
3910
|
this.interceptMultipleResponses = ({ responseUrl = "", responseStatus = 200, times = 1, baseUrl, customPageContext, timeout = 35000, } = {}) => {
|
|
3908
3911
|
const pageContext = customPageContext !== null && customPageContext !== void 0 ? customPageContext : this.page;
|
|
3909
3912
|
return Promise.all([...new Array(times)].map(() => pageContext.waitForResponse((response) => {
|