Why is my selenium/appium based test failed to set the viewport size?