While running tests, we are getting service worker of desktop. We are differentiating the requests based on User agent.
Service worker name for both desktop and mobile are same but code for them is different.
I tried adding user-agent but still the user agent is this for service worker.
user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.87
Can be done here?