@winning-test/component 0.0.18 → 0.0.19

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@winning-test/component",
3
- "version": "0.0.18",
3
+ "version": "0.0.19",
4
4
  "description": "",
5
5
  "main": "",
6
6
  "scripts": {
@@ -13,7 +13,7 @@
13
13
  "author": "",
14
14
  "license": "ISC",
15
15
  "dependencies": {
16
- "@winning-test/autotest-webui": "^0.1.38"
16
+ "@winning-test/autotest-webui": "^0.1.39"
17
17
  },
18
18
  "devDependencies": {
19
19
  "@types/jest": "^29.5.1",
@@ -131,13 +131,13 @@ class Page extends require("@winning-test/autotest-webui").Page {
131
131
 
132
132
  /**
133
133
  * 切换到活动iframe
134
- * @param {Boolean} isSwitchToLeft 是否切换到左侧iframe
134
+ * @param {Boolean} isPrm 是否切换到prmIframe
135
135
  */
136
- async switchToActiveFrame(isSwitchToLeft = true) {
136
+ async switchToActiveFrame(isPrmIframe = true) {
137
137
  try {
138
138
  await this.browser.switchToFrame();
139
139
  await this.browser.switchToFrame("//iframe[@class='iframe-content active']");
140
- if (isSwitchToLeft) {
140
+ if (isPrmIframe) {
141
141
  await this.browser.switchToFrame("//iframe[@id='prmIframe']");
142
142
  }
143
143
  } catch (error) {