Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
danielcaldas committed Aug 17, 2022
1 parent b2e7bc0 commit 2121a3a
Show file tree
Hide file tree
Showing 3 changed files with 21,062 additions and 65 deletions.
1 change: 1 addition & 0 deletions e2e/bootstrap.js
Expand Up @@ -16,6 +16,7 @@ async function bootstrap(options = {}) {
await appPage.goto(appUrl, { waitUntil: 'load' });

const targets = await browser.targets();
console.info('[TARGETS]: ', targets.map(t => t.type()))
const extensionTarget = targets.find(target => target.type() === 'service_worker');
const partialExtensionUrl = extensionTarget.url() || '';
const [, , extensionId] = partialExtensionUrl.split('/');
Expand Down

0 comments on commit 2121a3a

Please sign in to comment.