-
Notifications
You must be signed in to change notification settings - Fork 17
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
Add Keys to a collection of For Each statement #69
Comments
Hi @yaju , thank you for reporting issue. Sounds great. I'm so excited about resolving this issue makes it compatible with Mac! |
Hi @yaju , I found that to make this run on Mac, we have to replace Do you have any idea? Mac対応するにあたり、内部的に |
自分のところでは、既にMacでExampleのyomoda sobaは動いています。近いうちに記事を書く予定です。 ' Send HTTP request
Private Function SendRequest(method As String, url As String, Optional Data As Dictionary = Nothing) As Dictionary
Dim client As Object
Dim Response As WebResponse
Set client = New WebClient
If method = "POST" Or method = "PUT" Then
Set Response = client.PostJson(url, Data)
Else
Set Response = client.GetJson(url)
End If
Dim json As Object
Set json = JsonConverter.ParseJson(Response.Content)
Set SendRequest = json
End Function |
2022年05月22日に書きました。 |
Hi @yaju , |
Mac対応にあたりDictionaryオブジェクトを「Microsoft Scripting Runtime」の代わりに、VBA-tools/VBA-Dictionary を使用した場合、WebDriver.clsのFor Eachの部分で「実行時エラー 438 オブジェクトは、このプロパティまたはメソッドをサポートしていません」が出ます。
Keysを追加して頂ければ、このエラーは回避することが出来ます。
Keysを付けた状態で、Windows上で「Microsoft Scripting Runtime」を参照していてもエラーにならずに正常動作します。
The text was updated successfully, but these errors were encountered: