Closed Klaster1 closed 1 month ago
Thank you for bringing this enhancement to our attention. We will be happy to look into it. We'll update this thread once we have news. If we do not publish any new comments, it's safe to assume that there are no new updates.
What is your Scenario?
Thanks to the recent addition of
getCurrentCDPSession
, direct calls to CDP became much more ergonomic. However, the method returns anunknown
, offering no CDP client method completion. This is awkward.What are you suggesting?
TestCafe already uses "remote-chrome-interface" internally, make the
getCurrentCDPSession
returnremoteChrome.Client
instead ofunknown
.What alternatives have you considered?
For now, I use a wrapper with explicit type casting: