TinySeleniumVBA icon indicating copy to clipboard operation
TinySeleniumVBA copied to clipboard

A tiny Selenium wrapper written in pure VBA

Results 37 TinySeleniumVBA issues
Sort by recently updated
recently updated
newest added

ZipPathでダウンロードフォルダを取得する際に、Cドライブ以外にダウンロードフォルダがあると正しく取得できません。 下記のように変更することで正しく取得できました。 下記の変更適用をご検討いただけますと幸いです。 Public Property Get ZipPath(browser As BrowserName) As String Select Case browser Case BrowserName.Chrome ZipPath = CreateObject("Shell.Application").Namespace("shell:Downloads").Self.path & "\chromedriver_win32.zip" Case BrowserName.Edge Select Case Is64BitOS Case True: ZipPath =...

Mac対応にあたりDictionaryオブジェクトを「Microsoft Scripting Runtime」の代わりに、VBA-tools/VBA-Dictionary を使用した場合、WebDriver.clsのFor Eachの部分で「実行時エラー 438 オブジェクトは、このプロパティまたはメソッドをサポートしていません」が出ます。 ```vb ' Run-time error '438': Object doesn't support this property or method For Each paramKey In parameters For Each key In dict ```...

Reference site http://blog.livedoor.jp/tarboh_w-inko/archives/37451016.html How to support IE mode in Edge ## WebDriver.cls Add IE method ```vb ' Launch 'Internet Explorer Driver Public Sub IE(ByVal driverPath As String, Optional ByVal driverUrl...

I want to add Wait Method.(SeleniumVBA's TimerWait Method) ```vb Public Sub Wait(Optional ByVal milliseconds As Long = 300) 'pause in milliseconds Dim startTime As Single, endTime As Single, nowTime As...

Anybody having already worked on reading/writing/managing cookies? Thankyou!

TinySeleniumVBA WebDriver.cls に対して、ページソース取得(PageSource)のメソッド追加 WedDriver.cls ```vba ' Windows Page Source '2021/8/22 add ishi Public Function PageSource(Optional ByVal sessionid As String = vbNullString) As String Dim data As New Dictionary If sessionid...

DOM

`WebDriver.ExecuteScript()` takes `scriptArguments` as array, but I want to call this method with a single single argument. See also the end of this closed issue: [#24](https://github.com/uezo/TinySeleniumVBA/issues/24#issuecomment-1013661330)

Python Seleniumの send_keys メソッドを参考にして、SetValue で特殊キーを扱えるようにしてみました。 Pythonは引数の数を固定していないので Excel VBA の ParamArray でトライしましたが、WebDriver.cls と WebElement.cls での両立は私の技量ではできませんでした。そこで WebDriver.cls と WebElement.cls 共に、入力に先立ってクリアする/しない の引数(Optional ClearBeforeTyping As Boolean = True)を加えました。 また JsonConverter.bas で特殊キーの場合は \ をエスケープしない様にする必要がありました。 WebDriver.cls...

Automatically added as the Modules. It's very confusing for beginners.

bug

これまでに私がIssuesにアップした全Methodを含んだソースです。 オリジナルである『TinySeleniumVBA v0.1.0』と『TinySeleniumVBA v0.1.1』をベースにしています。 JsonConverter v2.3.1b 45.1 KB (46,244 バイト)  MD5:2752cfb38f51a50e7e6944cb9bc99d57   [JsonConverter.txt](https://github.com/uezo/TinySeleniumVBA/files/7775385/JsonConverter.txt) WebDriver v0.1.1b   74.9 KB (76,746 バイト)  MD5:4472df9ba9ba60a8bc7a2a258998ad5c   [WebDriver.txt](https://github.com/uezo/TinySeleniumVBA/files/7795239/WebDriver.txt) WebElement v0.1.1b  9.89 KB (10,129 バイト)  MD5:757948bd6b8d2e9a48e5ea9590148bcf   [WebElement.txt](https://github.com/uezo/TinySeleniumVBA/files/7775384/WebElement.txt) Edge, Chrome,...