Comments (3)
+1 - I am struggling with a Select Picker and getAggregation("content") which resolves in a stale element reference in the second call. I can provide an example project if you need to see this issue in real life.
Edit: @vobu @dominikfeininger Attached you can see a failing sample project (german feature file, but should not be a problem).
Edit2: of course we also got a workaround - cleanup of the internal WDI5 control cache:
Object.keys(browser._controls).forEach(sKey => { if (browser._controls[sKey]._context) { delete browser._controls[sKey]; } });
Cheers, Bas
sample_wdi5.zip
from wdi5.
Edit2: of course we also got a workaround - cleanup of the internal WDI5 control cache:
Object.keys(browser._controls).forEach(sKey => { if (browser._controls[sKey]._context) { delete browser._controls[sKey]; } });
thanks for digging into this!
now that you (and @Lea-Zim 😄 ) have identified the issue, would you come fwd and PR this?!? now that would be rad ;)
from wdi5.
@vobu I had a quick look. The solution should be quite simple, you are calling asControl twice in WDI5.js (in _retrieveElements and _retrieveElement) - there the this._forceSelect Option should be inserted as there it is lost. #96
from wdi5.
Related Issues (20)
- Error: DOM representation of control 'Element sap.m.Input#__input2-__clone54-__clone83' has no focus DOM reference HOT 5
- 3D Viewer doesn't display model in Jenkins Pipline HOT 6
- Error: Polling stopped because the timeout of 999999 milliseconds has been reached but there is still pending asynchronous work HOT 2
- Right click or context menu HOT 3
- How to navigate with URL search parameters in a wdi5 test? (waitForUI5Options undefined error) HOT 5
- REQUEST: Install git in wdi5 docker image HOT 3
- Selecting Workzone cards in wdi5 by cardId from manifest HOT 2
- wdi5 asControl() waitForUI5Options waitAsync problems HOT 5
- Interactable matcher has wrong type definition HOT 2
- isExisting() returns Error if DOM is not present HOT 4
- Proposal: UI5-specific extensions to expect-webdriverio
- stale element handling in Webdriver protocol HOT 2
- wdi5 ts init adds wrong ui5 type devDependency HOT 2
- Cannot click/select date in "sap.ui.unified.Calendar" HOT 8
- implement `pressEnterKey` from RecordReplay API
- WebGL issues with WDI5 on Jenkins HOT 5
- BasicAuthentication is not working when Username or Password contains URL special characters
- PlanningCalendar.getToolbarContent() receiving error in the console : no Dom element found HOT 14
- ERROR : TypeError: Cannot read properties of undefined (reading 'waitforTimeout') HOT 1
- sap.ui.core.CustomData not returned as expected HOT 3
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 wdi5.