swfz/til

playwright環境での外部サービスへのアクセス制御

Opened this issue · 0 comments

  • Pixelaのsvg mockがplaywright環境だと動作しない
  • gtm
  • analytics

色々混じってる

[JavaScript Warning: "Loading failed for the <script> with source “https://www.googletagmanager.com/gtm.js?id=undefined”." {file: "http://localhost:9000/samples/markdown/" line: 1}]
[JavaScript Warning: "Cookie “_ga” does not have a proper “SameSite” attribute value. Soon, cookies without the “SameSite” attribute or with an invalid value will be treated as “Lax”. This means that the cookie will no longer be sent in third-party contexts. If your application depends on this cookie being available in such contexts, please add the “SameSite=None“ attribute to it. To know more about the “SameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite" {file: "https://www.google-analytics.com/analytics.js" line: 27}]
Failed to load resource: the server responded with a status of 403 (Forbidden)