Skip to content

Add Keys to a collection of For Each statement #69

Open
@yaju

Description

@yaju

Mac対応にあたりDictionaryオブジェクトを「Microsoft Scripting Runtime」の代わりに、VBA-tools/VBA-Dictionary を使用した場合、WebDriver.clsのFor Eachの部分で「実行時エラー 438 オブジェクトは、このプロパティまたはメソッドをサポートしていません」が出ます。

' Run-time error '438': Object doesn't support this property or method
For Each paramKey In parameters

For Each key In dict

Keysを追加して頂ければ、このエラーは回避することが出来ます。

For Each paramKey In parameters.Keys

For Each key In dict.Keys

Keysを付けた状態で、Windows上で「Microsoft Scripting Runtime」を参照していてもエラーにならずに正常動作します。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions