Skip to content

Commit

Permalink
fix: Fixed getWAVersion version info
Browse files Browse the repository at this point in the history
  • Loading branch information
edgardmessias committed Aug 18, 2021
1 parent e2b7ac3 commit 76a4217
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/api/layers/host.layer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,10 @@ export class HostLayer {
* @category Host
*/
public async getWAVersion() {
await this.page
.waitForFunction(() => WAPI.getWAVersion())
.catch(() => null);

return await evaluateAndReturn(this.page, () => WAPI.getWAVersion());
}

Expand Down

0 comments on commit 76a4217

Please sign in to comment.