Comments (2)
Hi Marius. Firstly sorry for responding this late.
I'm not sure I understand correctly. The code you wrote ".execute('return window.VAR', callbackFunction)" should get you the variable VAR from the window object. If it doesn't there must be a bug in webdriverjs or there is something I dont know of yet.
Or have I misunderstood what you are looking for? In that case please let me know and I'll help you anyway I can.
Cheers!
from webdriverio.
@mariusrugan yeah, this is the right approach to get any variable in the window scope.
from webdriverio.
Related Issues (20)
- [π‘ Feature]: Find the `wdio.conf.ts` if you call `wdio` without anything else HOT 1
- Bug: Docs: The webdriverio/docs/accessibility is getting displayed in google search without proper UI formatting HOT 3
- [π Docs]: } added after method names in INFO panels HOT 4
- [π‘ Feature]: Support for Grid Managed Downloads HOT 2
- BrowserStack build identifier is not set when `BROWSERSTACK_BUILD_NAME` environment variable is set
- [π Bug]: BrowserStack build identifier is not set when BROWSERSTACK_BUILD_NAME environment variable is set HOT 5
- [π‘ Feature]: Timeout for Entirety of WebDriverIO Test Runner Instance HOT 2
- [π Bug]: have a switch to allow offline mode, and donβt check chrome labs when not using chrome HOT 5
- [π Bug]: Cannot command on elements coerced into an array: `Malformed type for "elementId" parameter` HOT 2
- [π Bug]: Is the gitpod environment broken? HOT 2
- [π Bug]: @wdio/junit-reporter - Both Errors and Failures Incremented for Failed Tests HOT 2
- [π Bug]: touchAction exec error ( [email protected] ) HOT 1
- [π Bug]: Chrome temporary profile left on disk HOT 5
- [π Bug]: Mocha Step Definition Timeout HOT 4
- [π Bug]: custom element commands doesn't work with browser runner HOT 7
- [π Bug]: TypeError: Spread syntax requires ...iterable[Symbol.iterator] to be a function HOT 3
- [π‘ Feature]: Centralized context manager for Iframe lookups HOT 1
- [π‘ Feature]: Support configuring NODE_OPTIONS for ChromeDriver separately from NODE_OPTIONS for WDIO itself HOT 5
- [π Bug]: I should be able to chain element using both xpath and css HOT 1
- [π Bug]: "goog:chromeOptions" args and prefs are being ignored? 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 webdriverio.