We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b49d54e commit 3c6a506Copy full SHA for 3c6a506
packages/benchpress/src/webdriver/selenium_webdriver_adapter.ts
@@ -34,7 +34,7 @@ export class SeleniumWebDriverAdapter extends WebDriverAdapter {
34
capabilities(): Promise<{[key: string]: any}> {
35
return this._driver.getCapabilities().then((capsObject: any) => {
36
const localData: {[key: string]: any} = {};
37
- for (const key of capsObject.keys()) {
+ for (const key of Array.from((<Map<string, any>>capsObject).keys())) {
38
localData[key] = capsObject.get(key);
39
}
40
return localData;
0 commit comments