We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 099ab1f commit b8e87b1Copy full SHA for b8e87b1
src/main/java/net/itarray/automotion/internal/DriverFacade.java
@@ -140,7 +140,7 @@ public void setResolution(Dimension resolution) {
140
}
141
142
public Dimension getResolution() {
143
- if (isAppiumContext() && getApp() == null) {
+ if (!isAppiumContext() && getApp() == null) {
144
String resolution = ((RemoteWebDriver) driver).getCapabilities().getCapability("deviceScreenSize").toString();
145
int width = Integer.parseInt(resolution.split("x")[0]);
146
int height = Integer.parseInt(resolution.split("x")[1]);
0 commit comments