Skip to main content
No Result Found
Connect & Get help from fellow developers on our Discord community. Ask the CommunityAsk the Community

Change screen orientation for Flutter integration tests on iOS

Change screen orientation of the on iOS devices for your Flutter integration test executions on BrowserStack App Automate.

You can change the screen orientation of an iOS device to set your application in portrait or landscape mode during the execution of the test. To change screen orientation, pass the deviceOrientation parameter as shown in the table below.

Parameter Description Values
deviceOrientation Set the screen orientation of the mobile device portrait, landscape
Default: portrait

This feature is available on iOS devices only.

Example cURL request to change the screen orientation to landscape:

Terminal
Copy icon Copy

Once you start the Flutter test execution, you can access the test execution results on the App Automate dashboard.

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback!

Talk to an Expert
Download Copy Check Circle