「FreeScriptの練習」の版間の差分
編集の要約なし |
編集の要約なし |
||
42行目: | 42行目: | ||
End Sub</code></pre><div> | End Sub</code></pre><div> | ||
<script></freescript> | <script></freescript> | ||
<syntaxhighlight lang="text"> | |||
test string. | |||
</syntaxhighlight> |
2024年12月28日 (土) 18:05時点における版
Public Sub グーグル検索()
Dim driver As Selenium.EdgeDriver
Set driver = New Selenium.EdgeDriver
With driver
.Start
.Get "https://www.google.com/"
.FindElementByName("q").SendKeys ("Yonewiki")
.FindElementByCss("input.gNO89b").Click '.FindElementById("btnK").Click
Debug.Print .FindElementById("search").Text
.Quit
End With
End Sub
Public Sub グーグル検索()
Dim driver As Selenium.EdgeDriver
Set driver = New Selenium.EdgeDriver
With driver
.Start
.Get "https://www.google.com/"
.FindElementByName("q").SendKeys ("Yonewiki")
.FindElementByCss("input.gNO89b").Click '.FindElementById("btnK").Click
Debug.Print .FindElementById("search").Text
.Quit
End With
End Sub
test string.