「FreeScriptの練習」の版間の差分
(ページの作成:「<yjavascript></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/styles/vs2015.css"> <link rel="stylesheet" href="https://wiki.yo-net.jp/custom.css"> <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/highlight.min.js"></script> <script src="https://wiki.yo-net.jp/custom.js"></script> <script></yjavascript> <FreeScript></script> <!-- data-line-num-start="1" data-line-highlight="3, 10-" data-max-…」) |
編集の要約なし |
||
(同じ利用者による、間の5版が非表示) | |||
1行目: | 1行目: | ||
[[FreeScriptの練習2]] | |||
<yjavascript></script> | <yjavascript></script> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/styles/vs2015.css"> | <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/styles/vs2015.css"> | ||
7行目: | 8行目: | ||
< | <freescript></script> | ||
<!-- | <!-- | ||
data-line-num-start="1" | data-line-num-start="1" | ||
41行目: | 42行目: | ||
End With | End With | ||
End Sub</code></pre><div> | End Sub</code></pre><div> | ||
<script></ | <script></freescript> | ||
<syntaxhighlight lang="text"> | |||
test string. | |||
</syntaxhighlight> |
2024年12月28日 (土) 21:27時点における最新版
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.