TinySeleniumVBA icon indicating copy to clipboard operation
TinySeleniumVBA copied to clipboard

Get download path in ZipPath

Open kenkousae opened this issue 3 years ago • 2 comments

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 = CreateObject("Shell.Application").Namespace("shell:Downloads").Self.path & "\edgedriver_win64.zip" Case Else: ZipPath = CreateObject("Shell.Application").Namespace("shell:Downloads").Self.path & "\edgedriver_win32.zip" End Select End Select End Property

kenkousae avatar Jun 10 '22 15:06 kenkousae

@kenkousae さん

TinySeleniumVBAにはZipPathはないのでisuueを書く場所が間違っています。 https://github.com/yamato1413/WebDriverManager-for-VBA

yaju avatar Jun 11 '22 09:06 yaju

失礼いたしました。申し訳ございません。

kenkousae avatar Jun 12 '22 10:06 kenkousae