Created
March 30, 2020 10:17
-
-
Save martinschneider/4509f9e0bd6a77d0a2ee1e311ff211bd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private WebDriver logDeviceDetails(AppiumDriver<? extends WebElement> driver) { | |
LOG.info("Testing device: {}, manufacturer: {}, OS version: {}, screen size: {}", | |
driver.getSessionDetail("deviceName"), driver.getSessionDetail("deviceManufacturer"), | |
driver.getSessionDetail("platformVersion"), driver.getSessionDetail("deviceScreenSize")); | |
return driver; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment