Skip to content

Failed to load resource #3

Description

@jahangircsebuet

greetings,
I am trying to send message using this code. It is working fine. But I am getting the following console error:
Failed to load ‘https://web.whatsapp.com/style_2f31d5097d7225b59159fd037d351c9e.css’. A ServiceWorker passed a promise to FetchEvent.respondWith() that rejected with ‘TypeError: Request mode 'cors' was used, but request cache mode 'only-if-cached' can only be used with request mode 'same-origin'.’.

I have tried to solve this error.
I have studied about request mode cors, same-origin and request cache mode no-store, only-if-cached etc.
I have tried adding Firefox profile before creating firefox instance but in vain.

would you please tell me the solution for this error?
Thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions