Setting cookies in synthetic monitors using CDP
Blog post from New Relic
The Selenium web driver provides a way to set cookies for scripted browser monitors using the `$webDriver.manage()` function and its `addCookie()` method, which can simplify the process of bypassing cookie modals and multi-factor authentication. The Chrome DevTools Protocol (CDP) also offers a way to set cookies without accessing the UI, allowing for more control over the browser's behavior. By utilizing CDP and its methods, developers can create more efficient and effective scripted browser monitors.
| Trend | Post Mentions | Total Month Mentions | Posts | Companies | MoM |
|---|---|---|---|---|---|
| Observability | 1 | 1,843 | 317 | 87 | +17% |
Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.