Adding support for chrome browser rotation

This commit is contained in:
yaphatak
2015-05-13 15:24:21 -07:00
parent b7e6092235
commit aa57ccccd0

View File

@@ -36,7 +36,9 @@ ChromeAndroid.prototype.setChromedriverMode = function () {
['POST', new RegExp('^/wd/hub/session/[^/]+/context')],
['GET', new RegExp('^/wd/hub/session/[^/]+/context')],
['POST', new RegExp('^/wd/hub/session/[^/]+/touch/perform')],
['POST', new RegExp('^/wd/hub/session/[^/]+/touch/multi/perform')]
['POST', new RegExp('^/wd/hub/session/[^/]+/touch/multi/perform')],
['POST', new RegExp('^/wd/hub/session/[^/]+/orientation')],
['GET', new RegExp('^/wd/hub/session/[^/]+/orientation')]
];
};