Skip to content

Commit c513360

Browse files
committed
improve wait condition for replace all benchmark
1 parent d5b1e83 commit c513360

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

webdriver-ts/src/benchmarks.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ const benchReplaceAll = new class extends Benchmark {
7979
await testElementLocatedById(driver, 'run', SHORT_TIMEOUT);
8080
for (let i = 0; i < config.WARMUP_COUNT; i++) {
8181
await clickElementById(driver, 'run');
82+
await testTextContains(driver, '//tbody/tr[1]/td[1]', (i*1000+1).toFixed());
8283
}
8384
}
8485
async run(driver: WebDriver) {

0 commit comments

Comments
 (0)