You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get a window object using playwright typescript
this.page.evaluate(() => window.fbsads)
some data returns correct values like
fbsads.getZone()
but when I try to get a value that have initial value new Map()
it returns {}
fbsads.adSlots
Expected behavior
I expected to get map has values
Actual behavior
{} empty object
Additional context
I wait for load everything this.page.pause() and make sure we have the data by opening the dev tools manually and check the values I saw them , the data have correct values
Environment
System:
mac os
The text was updated successfully, but these errors were encountered:
This issue is not following the bug template. Please re-file and provide a self-contained reproduction, which we can run locally to reproduce your issue. Thanks for your understanding!
Version
latest
Steps to reproduce
I get a window object using playwright typescript
this.page.evaluate(() => window.fbsads)
some data returns correct values like
fbsads.getZone()
but when I try to get a value that have initial value new Map()
it returns {}
fbsads.adSlots
Expected behavior
I expected to get map has values
Actual behavior
{} empty object
Additional context
I wait for load everything this.page.pause() and make sure we have the data by opening the dev tools manually and check the values I saw them , the data have correct values
Environment
The text was updated successfully, but these errors were encountered: