IKivan-kozenko -aqa
Try yourself as a QA tester
Back to topic

Quiz

Chrome extensions

Check yourself

  1. 1.Why can't you test Chrome extensions with Google Chrome or Microsoft Edge in Playwright?
  2. 2.Which browser launch method is required when testing extensions, and why?
  3. 3.How do you obtain the extension ID for a Manifest V3 extension after launching the context?
  4. 4.What are the two required args you must pass to launchPersistentContext to load an unpacked extension?
  5. 5.In a test fixture for extensions, which fixture provides the context and which derives the extension ID from it?
  6. 6.After getting the extension ID, how do you open the extension popup page in a test?
  7. 7.Which channel value must you set in launchPersistentContext for extension testing?
  8. 8.What does context.waitForEvent('serviceworker') return in the extension fixture?