Skip to content

Open URL method fails at execution at the async callback #84

@fjody

Description

@fjody

Hi,

I use Protractor v0.12.0, with Selenium for E2E testing.
Presently we are integrating a 3rd party cloud real device testing solution.

We faced with an issue.
If we open a page, it always fails at the opening, because it uses asyncCallback.

Is it possible to solve it without async?

We tried with .Url and .Navigate().GoToUrl() and always came the same error.

The error is at this JS script:

var asyncCallback = arguments[0];
var callback = function(args) {
    setTimeout(function() {
        asyncCallback(args);
    }, 0);
};
var definitelyNg1 = false;
var definitelyNg2OrNewer = false;
var check = function() {
    /* Figure out whic

This is the error message:
HANDSET_USAGE_ERROR: executeScript command failed. Reason: handset server: timeout expired.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions