Comments (1)
info HTTP --> POST /session/168c05fb-07b7-4fb9-9662-91c298793ff2/orientation
info HTTP {"orientation":"LANDSCAPE"}
[AndroidUiautomator2Driver@ed66 (168c05fb)] Driver proxy active, passing request on via HTTP proxy
[debug] [AndroidUiautomator2Driver@ed66 (168c05fb)] Matched '/session/168c05fb-07b7-4fb9-9662-91c298793ff2/orientation' to command name 'setOrientation'
[debug] [AndroidUiautomator2Driver@ed66 (168c05fb)] Proxying [POST /session/168c05fb-07b7-4fb9-9662-91c298793ff2/orientation] to [POST http://127.0.0.1:8200/session/fadb01d6-b839-4585-b967-7f787041f17e/orientation] with body: {"orientation":"LANDSCAPE"}
[AndroidUiautomator2Driver@ed66 (168c05fb)] Got response with status 400: {"sessionId":"fadb01d6-b839-4585-b967-7f787041f17e","value":{"error":"invalid element state","message":"Screen rotation cannot be changed to ROTATION_270 after 2000ms. Is it locked programmatically?","stacktrace":"io.appium.uiautomator2.common.exceptions.InvalidElementStateException: Screen rotation cannot be changed to ROTATION_270 after 2000ms. Is it locked programmatically?\n\tat io.appium.uiautomator2.model.internal.CustomUiDevice.setRotationSync(CustomUiDevice.java:195)\n\tat io.appium.uiautomator2.handler.SetOrientation.safeHandle(SetOrientation.java:41)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:59)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:267)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:261)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandle...
[debug] [W3C] Matched W3C error code 'invalid element state' to InvalidElementStateError
info HTTP <-- POST /session/168c05fb-07b7-4fb9-9662-91c298793ff2/orientation 400 2094 ms - 3926
Notice that the log lines mention this command is being handled by the UiAutomator2 driver? That means this issue doesn't have anything to do with this plugin. Unless you can show that the orientation setting works correctly when the plugin is not used, it's best to report the issue to the UiAutomator2 driver repo instead.
from appium-altunity-plugin.
Related Issues (11)
- Not able to write text in textview HOT 1
- iOS app not opening when integrating Unity app with AltUnityTester HOT 1
- Interactive with both Native and Unity contexts HOT 2
- Unable to connect to unity drive HOT 4
- Frequent socket hang up issues observed while executing the test cases HOT 1
- Error: There is no websocket connection active HOT 4
- Unable to use development plugins with flag `--use-plugins` HOT 1
- get_property('*') returning 500 "Object not found" HOT 1
- Make AltUnityClient connect maxTries dynamic
- Support AltTester >= 2.0.0 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appium-altunity-plugin.