Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: some data returns empty object in window object #29577

Closed
ahmadalasaad opened this issue Feb 20, 2024 · 1 comment
Closed

[Bug]: some data returns empty object in window object #29577

ahmadalasaad opened this issue Feb 20, 2024 · 1 comment

Comments

@ahmadalasaad
Copy link

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

System:
mac os
@mxschmitt
Copy link
Member

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants