Conversation
- add docs - add uts
|
@wswebcreation how do these commands relate to the actual user actions when combined with the scale? I currently cannot create a clear picture of how pinching uses a scale |
eslint-plugin-wdio
@wdio/allure-reporter
@wdio/browser-runner
@wdio/appium-service
@wdio/browserstack-service
@wdio/cli
@wdio/concise-reporter
@wdio/config
@wdio/cucumber-framework
@wdio/dot-reporter
@wdio/firefox-profile-service
@wdio/globals
@wdio/jasmine-framework
@wdio/json-reporter
@wdio/junit-reporter
@wdio/lighthouse-service
@wdio/local-runner
@wdio/logger
@wdio/mocha-framework
@wdio/protocols
@wdio/repl
@wdio/reporter
@wdio/runner
@wdio/sauce-service
@wdio/shared-store-service
@wdio/smoke-test-cjs-service
@wdio/smoke-test-reporter
@wdio/smoke-test-service
@wdio/spec-reporter
@wdio/static-server-service
@wdio/sumologic-reporter
@wdio/testingbot-service
@wdio/types
@wdio/utils
@wdio/webdriver-mock-service
webdriver
webdriverio
commit: |
Great question, when you pinch/zoom, you want to make it "x"% smaller or bigger than shown on your screen. So when you say it needs to be a scale of 80% smaller then we (the driver) uses the "screen-size" and scale to determine how much it needs to move the fingers to each other. This gesture will never be "100%" accurate all the time you execute it and differs how much is pinches/zooms per device/screen |
|
@christian-bromann , are you planning to release this in v8 too? |
No, we recommend to update WebdriverIO to v9 as we unfortunately don't have the resources to backport every feature. |
This PR adds the element commands
pinchandzoomfor mobileUsage
Note
There are more ways to implement pinch and zoom (for example with the
actions-api, but this is the most efficient and fastest one with the least amount of WebDriver calls which would be "faster" on Cloud VendorsProposed changes
Types of changes
Checklist
Backport Request
//: # (The current
mainbranch is the development branch for WebdriverIO v9. If your change should be released to the current major version of WebdriverIO (v8), please raise another PR with the same changes against thev8branch.)v9and doesn't need to be back-ported#XXXXXFurther comments
Reviewers: @webdriverio/project-committers