We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8142635 commit 99ece7cCopy full SHA for 99ece7c
packages/plugin-selenium-driver/src/plugin/index.ts
@@ -526,7 +526,7 @@ export class SeleniumPlugin implements IBrowserProxyPlugin {
526
const client = this.getBrowserClient(applicant);
527
528
const element = await client.$(selector);
529
- return element.click(options);
+ return options && Object.keys(options).length > 0 ? element.click(options) : element.click();
530
}
531
532
public async getSize(applicant: string, selector: string) {
0 commit comments