SeleniumBasic PointClass ブラウザのX,Y座標軸取得 2023 8/06 SeleniumBasic-Class 2023年3月24日2023年8月6日 リファレンス 概要 ブラウザのX,Y座標軸取得用クラスを解説します。 オブジェクト設定 ・変数宣言 Dim Point As Selenium.Point ・親クラス:Location, LocationInView, Window 文法 Set Point = driver.Window.PositionPoint.[プロパティ] メソッド・プロパティ プロパティ スクロールできます Name解説ShortExampleXX座標軸Debug.Print Point.XYY座標軸Debug.Print Point.Y ※Short Exampleは、動作確認ができたコードを記載しています。 Example Window_Position Private Sub Window_Position() Dim driver As New ChromeDriver driver.Get "https://google.co.jp" Dim Point As Selenium.Point Set Point = driver.Window.Position Debug.Print Point.X Debug.Print Point.Y driver.Wait 2000 driver.Quit End Sub あわせて読みたい SeleniumBasic WindowClass ウィンドウ(画面)操作 概要 ウィンドウハンドル用クラス。ウィンドウサイズの変更や、複数ウィンドウを操作する場合、ウィンドウのフォーカス移動を操作できます。 オブジェクト設定 ・変数宣... SeleniumBasic Classリファレンス SeleniumBasic-Class よかったらシェアしてね! URLをコピーしました! URLをコピーしました! SeleniumBasic UtilsClass 便利機能の利用 SeleniumBasic PdfFileClass PDFの新規作成と加工 この記事を書いた人 まんさい VBAを中心とした自動化、効率化の手法を紹介しています。現在は、SeleniumBasicのexamplesを紹介しています。その内、SeleniumBasic以外の手法も掲載したいと思っております。 関連記事 SeleniumBasic WebDriverClass ブラウザを扱う基本クラス 2023年3月26日 SeleniumBasic ProxyClass プロキシサーバーの設定 2023年3月26日 SeleniumBasic TouchActionsClass タッチスクリーンの一括操作 2023年3月25日 SeleniumBasic TouchScreenClass タッチスクリーン操作 2023年3月25日 SeleniumBasic ApplicationClass 代表的なクラス群の呼出し 2023年3月25日 SeleniumBasic PdfFileClass PDFの新規作成と加工 2023年3月25日 SeleniumBasic UtilsClass 便利機能の利用 2023年3月24日 SeleniumBasic SelectElementClass 選択可能なWeb要素操作 2023年3月24日