@auxcode/auxta 0.1.7 → 0.1.8
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
|
@@ -80,8 +80,8 @@ export class FunctionHelper {
|
|
|
80
80
|
|
|
81
81
|
public async click(className: string, page = puppeteer.defaultPage) {
|
|
82
82
|
await page.waitForTimeout(this.defaultTimeout);
|
|
83
|
-
await page.click(className);
|
|
84
83
|
const elementName = await puppeteer.defaultPage.$eval(className, (e) => e.textContent);
|
|
84
|
+
await page.click(className);
|
|
85
85
|
log.push('Then', `I click on ${elementName}`, StepStatusEnum.PASSED);
|
|
86
86
|
}
|
|
87
87
|
|