Replies: 1 comment 6 replies
-
page.MustElement("a").MustEval(`this.target = "_blank"`).MustClick() |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I got an element that can be clicked but I wish to open that in a new tab, how can i do this?
I have seen that u can use
.MustPage()
but this opens a new tab, I want the button when clicked to open a new tab (like right clicking, open in new tab normally).page2.MustElement(".ProductCard__EnterDrawButtonSC-sc-1dh591-6.IKfNn").MustClick()
Beta Was this translation helpful? Give feedback.
All reactions