@memlab/e2e 1.0.15 → 1.0.17

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.
@@ -74,8 +74,10 @@ class E2EInteractionManager {
74
74
  beforeInteractions() {
75
75
  return __awaiter(this, void 0, void 0, function* () {
76
76
  const session = yield this.getCDPSession();
77
- this.networkManager.setCDPSession(session);
78
- yield this.networkManager.interceptScript();
77
+ if (core_1.config.interceptScript) {
78
+ this.networkManager.setCDPSession(session);
79
+ yield this.networkManager.interceptScript();
80
+ }
79
81
  if (core_1.config.verbose) {
80
82
  const browserVersion = yield this.page.browser().version();
81
83
  core_1.info.lowLevel(`Browser version: ${browserVersion}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memlab/e2e",
3
- "version": "1.0.15",
3
+ "version": "1.0.17",
4
4
  "license": "MIT",
5
5
  "description": "memlab browser E2E interaction libraries",
6
6
  "author": "Liang Gong <lgong@fb.com>",