Comments (3)
@dprevost-LMI thanks for raising this well described issue.
Unfortunately there is nothing WebdriverIO can do about this inconsistency since the actual command execution is done by Appium, not WebdriverIO. I recommend raise this issue in that project. Thanks for understanding!
from webdriverio.
FYI: I went in a different direction and used driver.pressKeyCode(SystemKeyCodes.PowerButton);
on Android to simulate the power key press that is actually locking the phone in real life, and it works better. I hope it helps other people!
from webdriverio.
Actually, stupid as it is if you use driver.lock(0)
it will work
from webdriverio.
Related Issues (20)
- [🐛 Bug]: <Scenarios with duplicated steps not failing> HOT 1
- [🐛 Bug]: WebdriverIO security vulnerability in dependency on puppeteer-core HOT 18
- [🐛 Bug]: V9 - TSC fails on Windows machine HOT 1
- [🐛 Bug]: Submit/ Save Button Remains Disabled After Using setValue Method in WebDriverIO Sync HOT 1
- [🐛 Bug]: Using the action function cannot accomplish the double-tap functionality of touchAction. HOT 6
- [🐛 Bug]: [V9][@wdio/logger]: Top-level await is currently not supported with the "cjs" output format HOT 2
- [🐛 Bug]: browser.mock throwing ErrorEvent HOT 4
- [🐛 Bug]: DETERMINISTIC FAILURE - Lingering Appium Process After Test Execution has Successfully Finished HOT 4
- [💡 Feature]: Support TypeScript in repl CLI command HOT 1
- It doesn't matter if you use stock Chrome or Chrome for testing, my point was that I set a custom browser binary and WebdriverIO was able to resolve the version and download the right Chromedriver. Please provide a reproducible example if possible. HOT 1
- After upgrading webdriverio 7 ti 8.34 my chromedriver is opening and closing and HOT 1
- [🐛 Bug]: No reports if session has already terminated when test fails HOT 7
- [💡 Feature]: Unique log file per test attempt HOT 2
- [🐛 Bug]: wdio/cli:utils: A service failed in the 'onPrepare' hook HOT 2
- ERROR @wdio/cli:utils: Appium fails to start on Windows HOT 8
- [🐛 Bug]: Problem of update @wdio-cli to 8.12.0 HOT 3
- [🐛 Bug]: BidiCore does not send headers declared in wdio.conf.js on the upgrade GET request. HOT 2
- [💡 Feature]: Transpile setup code of browser-runner HOT 1
- [🐛 Bug]: Can't run test and stuck on wdio run HOT 3
- [🐛 Bug]: Unable to execute .feature file
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 webdriverio.