Comments (3)
Message: Unknown mobile command "('mobile: doubleClickGesture', {'x': 100, 'y': 100})"
I assume there is an error in client arguments. the script itself should look like mobile: doubleClickGesture
. The other part should belong to arguments. Do you follow the RF library documentation?
from appium.
after looking into the definition of the keyword "Execture script" it turn out that the issue is in the argument I passed to that keyword
works well with this function directly on to top of python :
def pinch_open_gesture():
built_in = BuiltIn()
appium_lib = built_in.get_library_instance('AppiumLibrary')
driver = appium_lib._current_application()
try:
driver.execute_script('mobile: pinchOpenGesture', {
'left': 200,
'top': 800,
'width': 1000,
'height': 1000,
'percent': 0.5,
})
logger.info("Zoom performed on the center of the screen")
except Exception as e:
logger.error(f"Error in performing zoom: {e}")
raise`
from appium.
Closed as not issue
from appium.
Related Issues (20)
- bug: close method on Mobile Browser iPhone15/Safari does not close the browser window HOT 2
- getScreenshot failing with 500 and then everything goes into a bad state HOT 4
- appium
- [iOS-17] getScreenshot command timing out multiple times HOT 4
- help me to automate any apps(system apps or custom apps) on secondary display android HOT 1
- [Feat]: alternate sendkey strategy/ies for iOS web HOT 1
- Any plans to support appium-windows-driver for windows 11 HOT 1
- Unable to install appium drivers on windows 11 HOT 4
- ERROR webdriver: Request failed with status 500 due to unsupported operation: This API is not supported anymore. See https://github.com/appium/appium/issues/15807 HOT 4
- Getting error "WDA is not listening at 'http://127.0.0.1" HOT 14
- × Installing 'uiautomator2' using NPM install spec 'appium-uiautomator2-driver' HOT 1
- Large DOM structure takes long time and sometimes crashed appium HOT 4
- Unable to start appium session HOT 1
- Unable to start appium session using appium GUI inspector even after upgrading or installing appium v2.5 HOT 12
- Is there a way or any desired capabilities in which we can stop Appium from launching the app after installation. HOT 1
- How to get bundleId dinamically? HOT 2
- My automation tests are flaky- get alert text returns empty string sometimes HOT 7
- bug: updating appium, driver or plugin, is not synchronized in node_modules/.cache/appium/extensions.yaml HOT 6
- [Feat]: introduce getContextsWithDetails endpoint HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appium.