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

docs: update context.backgroundPage event examples #30210

Merged
merged 1 commit into from
Apr 2, 2024

Conversation

yury-s
Copy link
Member

@yury-s yury-s commented Apr 2, 2024

@yury-s yury-s merged commit 8056e53 into microsoft:main Apr 2, 2024
3 checks passed
@yury-s yury-s deleted the docs-bgpage-no-wait branch April 2, 2024 18:32
await page.GetByText("activate extension").ClickAsync();
});
Console.WriteLine(await backgroundPage.EvaluateAsync<string>("location.href"));
Console.WriteLine(backgroundPage.Url());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Console.WriteLine(backgroundPage.Url());
Console.WriteLine(backgroundPage.Url);

I think

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

Successfully merging this pull request may close these issues.

How to get chrom extension background page
3 participants