在使用 appium 使用 protractor 测试以 Angular JS 编码的移动应用程序时,我们如何将模拟器方向更改为横向模式?
我添加了:'deviceorientation': 'landscape',
在config.js
文件。
但当我运行它时它没有改变。
最佳答案
我用配置文件中的功能大写来解决它:
'方向':'景观'
也可以使用此选项:
'deviceorientation': 'LANDSCAPE'
关于ios - 在使用appium时,我们如何将设备方向更改为横向模式?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37167082/