0
私はこれを理解できません。新しいウィンドウ|ブラウザインタラクト
私はブラウザを開いていて、ブラウザで新しいブラウザウィンドウを開くボタンをクリックします。ポップアップした2番目のウィンドウに次のコードを適用するにはどうすればよいですか?
私のコードは、まだ私はいくつかのリンクを変更しましたが、ここでの主なものは、新しいの隣にコードを適用する方法である (私はクローズしたくない)前のウィンドウにCase $start
_IENavigate($oIE, "http://google.com")
sleep(5000)
For $i = 1 To $repeat1
Local $oInputs = _IETagNameGetCollection($oIE, "button")
For $oInput In $oInputs
If $oInput.classname == "button blue" Then _IEAction($oInput, "click")
Next
Sleep(3000)
WinActivate("YouTube - Internet Explorer")
Local $oInputs = _IETagNameGetCollection($oIE, "button")
For $oInput In $oInputs
If $oInput.classname == "yt-uix-button yt-uix-button-size-default yt-uix-button-opacity yt-uix-button-has-icon no-icon-markup like-button-renderer-like-button like-button-renderer-like-button-clicked yt-uix-button-toggled yt-uix-post-anchor yt-uix-tooltip" Then _IEAction($oInput, "click")
Next
Next
を適用している
ウィンドウ(YouTube)