I want to create the test
- Click on element with middle button on the mouse
- Verify content of page in new tab
I know how to create new Browser context, but I don't know how to switch to new page. Thank you for any help in advance.
I want to create the test
I know how to create new Browser context, but I don't know how to switch to new page. Thank you for any help in advance.
you can use the ElementHandle.click() method to simulate a mouse click on a particular element.