-
If page.Target is deprecated, how do we get the TargetId? Thanks in advance |
Beta Was this translation helpful? Give feedback.
Answered by
kblok
Nov 27, 2024
Replies: 1 comment
-
@blackcid TargetId is deprecated because it's tied to CDP and we're preparing for Bidi. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
blackcid
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@blackcid TargetId is deprecated because it's tied to CDP and we're preparing for Bidi.
If you need the target ID, you can cast your
IPage
toCdpPage
and access its target. Something like((CdpPage)page).Target.TargetId
.