Is there any way to perform codeception acceptance tests as if the device was horizontal/landscape?
My current acceptance.suite.yml file looks like this:
modules:
enabled:
- WebDriver
config:
WebDriver:
url: '###local_address_removed###'
port: 4444
restart: true
wait: 0
env:
mobile:
modules:
config:
WebDriver:
browser: 'phantomjs'
capabilities:
phantomjs.page.settings.userAgent: "Mozilla/5.0 (iPhone; CPU iPhone OS 5_0 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A334 Safari/7534.48.3"
Am I required to set the individual device and use some sort of keyword to set it into horizontal/landscape mode?
I've looked here: Unable to access Remote Webdriver to Browserstack using Codeception
And found details on how to use browserstack for automated testing, is this the most ideal method of doing this? Or can it be done with PhantomJS or other WebDrivers?
Help would be greatly appreciated, if any other details are required then I shall provide them on request. Many thanks.
Aucun commentaire:
Enregistrer un commentaire