Thanks again Daniel, it works. But I thought both mouse and keyboard were properties of page.
In any case is there a workaround for mouse too? Because I’m encountering the same problem. I’m trying to use a slider so locator.click() is not enough. I would like to use the mouse to click on a specific point of the locator’s bounding box
You are absolutely right @george.l, apologies for the confusion, we have realized that this is a bug introduced in the latest version after changes were made to accommodate the merge of the extension with k6.
We have created an issue and we will try to fix it soon so the first version of k6 that includes xk6-browser works as expected. You can follow the progress on the issue here.