Add metrics getter (#298)

This should simplify extracting metrics from the default page.
This commit is contained in:
Camillo Bruni 2023-08-21 12:08:13 +02:00 committed by GitHub
parent b3ec8c748b
commit fb9b966b37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,6 +67,10 @@ class MainBenchmarkClient {
return true;
}
get metrics() {
return this._metrics;
}
willAddTestFrame(frame) {
frame.style.left = "50%";
frame.style.top = "50%";