We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When trying to do this:
await page.locator('a[href="/my_messages.php"]').click({modifiers: ['ControlOrMeta']})
The modifiers are ignored and the link does not open in a new window. It looks like we're forgetting about the modifiers -- opts.ToMouseClickOptions() and handle.click don't work with the modifier.
The current workaround is to hold down the meta key before clicking:
await page.keyboard.down('ControlOrMeta'); await page.locator('a[href="/my_messages.php"]').click() await page.keyboard.up('ControlOrMeta');
v1.8.5
NA
No response
The link is opened in a new page/tab.
The link navigates on the current page.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Brief summary
When trying to do this:
The modifiers are ignored and the link does not open in a new window. It looks like we're forgetting about the modifiers -- opts.ToMouseClickOptions() and handle.click don't work with the modifier.
The current workaround is to hold down the meta key before clicking:
xk6-browser version
v1.8.5
OS
NA
Chrome version
NA
Docker version and image (if applicable)
No response
Steps to reproduce the problem
NA
Expected behaviour
The link is opened in a new page/tab.
Actual behaviour
The link navigates on the current page.
The text was updated successfully, but these errors were encountered: