Rayrun
← Back to Discord Forum

How to mark each page with an id

I am creating an external browser to which I will connect with CDP from elsewhere. How can I assign each page and ID that can be both assigned from the browser and the client?

This thread is trying to answer question "How can I assign each page an ID that can be both assigned from the browser and the client when creating an external browser to connect with CDP?"

1 reply

The only way I found is to use session storage but it's not the most viable solution

Related Discord Threads

TwitterGitHubLinkedIn
AboutQuestionsDiscord ForumBrowser ExtensionTagsQA Jobs

Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email [email protected].