Comments (2)
Hi,
I don't think you're missing anything, in fact I think there's an
awful lot more that can be done, I happened to have exactly the same
issue today. There's a status command that I don't think we're
currently using and we should be able to give a better callback on
init too.
I'm in the middle of refactoring all of the project to deal with
errors better so this should be done at the same time,
I hope this at least helps in the fact that you're not missing
anything, as far as I'm aware at least
Dan
On Jul 6, 2012, at 18:31, Pete Clark
[email protected]
wrote:
Hi,
I'm sure i must be missing something, but I can't find a way to determine if the client fails to connect to the remote. I thought the init method would be a good candidate for receiving the error, but it doesn't seem to invoke the callback, it just logs an error to the console.
What do I need to register a callback with to handle this event?
Cheers
Pete
Reply to this email directly or view it on GitHub:
#32
from webdriverio.
Hi Dan,
Thanks for the reply. Yeah that clarification has put my
mind to rest, so I can implement a work around for the interim. I Just didn't want to hack anything purely through a lack of understanding.
from webdriverio.
Related Issues (20)
- [🐛 Bug]: Error line incorrectly reported in the terminal HOT 2
- [📖 Docs]: How to configure tests using Chromium (NOT Chrome) browser HOT 11
- [💡 Feature]: Wdio spec reporter should exclude hook failures in test case pass fail count HOT 6
- [🐛 Bug]: element search commands like browser.$ and element.$ have incorrect types HOT 4
- [🐛 Bug]: refetching `WebdriverIO.Elements` in browser testing context doens't work HOT 2
- [💡 Feature]: Provide a public interface to receive the current spec file HOT 1
- [💡 Feature]: Introduce a `children` command that returns the children of an element as `WebdriverIO.ElementArray` HOT 1
- [🐛 Bug]: wdio log can not be redirected into outputDir HOT 1
- [💡 Feature]: Introduce a new interface to query elements HOT 4
- [💡 Feature]: Expose browser type when it is returned by remote in standalone mode HOT 11
- [💡 Feature]: Compatibility with ESLint flat config and more precise exported types for wdio ESLint driver HOT 4
- [🐛 Bug]: Rerun failed tests broken on circleCI with wdio 8 HOT 1
- [🐛 Bug]: Fetch multiple elements issue ($$ command) HOT 1
- [🐛 Bug]: Module '"webdriverio"' has no exported member 'ElementArray'. HOT 2
- [🐛 Bug]: reloadSession causes problem for selenium HOT 6
- Failed to download chromedriver due to 404 error HOT 20
- [🐛 Bug]: VSCode adds parentheses around methods during auto-completion HOT 3
- [🐛 Bug]: getLogs('browser') Function Not Working in Multiremote Mode HOT 1
- [🐛 Bug]: Webdriver-io cannot run in selenium standalone mode HOT 4
- [🐛 Bug]: afterTest hook is getting called with wrong test when test is timed out HOT 1
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.