executeJavaScript("return document.documentElement.clientWidth"); Long height = Selenide.executeJavaScript("return document.documentElement.clientHeight"); return new Dimension(width.intValue(), height.intValue()); } Example #20Source File: TabViewPage.java From aws-device-farm-appium-tests-for-sample...
実行してみる テスト処理を行うスクリプトを作って、実行します。 JavaとPythonでは書いてましたが、RubyやJavaScriptでは書いた事ないです。いろんな言語でかけるみたいです。 ./test_automation.py from selenium import webdriver from selenium.webdriver.common.desired_capabilities import DesiredCapabili...