Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chrome launches with two tabs #268

Open
arv opened this issue Aug 30, 2024 · 1 comment
Open

Chrome launches with two tabs #268

arv opened this issue Aug 30, 2024 · 1 comment

Comments

@arv
Copy link

arv commented Aug 30, 2024

When I run with --browser=chrome it opens with the "Choose Your Search Engine" modal tab which prevents tachometer to work:

npx tachometer destr.html no-destr.html --browser=chrome
[----------------------------------------------------------] launching chromeRunning benchmarks

[----------------------------------------------------------] warmup 1/2 chrome destr.htmlError: Expected only 1 open tab, got 2
    at openAndSwitchToNewTab (file:///Users/arv/src/temp/perf-destr/node_modules/tachometer/src/browser.ts:298:11)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Runner.takeSamples (file:///Users/arv/src/temp/perf-destr/node_modules/tachometer/src/runner.ts:293:7)
    at Runner.warmup (file:///Users/arv/src/temp/perf-destr/node_modules/tachometer/src/runner.ts:148:7)
    at Runner.run (file:///Users/arv/src/temp/perf-destr/node_modules/tachometer/src/runner.ts:96:5)
    at realMain (file:///Users/arv/src/temp/perf-destr/node_modules/tachometer/src/cli.ts:179:14)
    at main (file:///Users/arv/src/temp/perf-destr/node_modules/tachometer/src/cli.ts:45:15)
@arv
Copy link
Author

arv commented Aug 30, 2024

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant