Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error:Could not create new page when used with ubuntu 16.04 headless mode #124

Closed
anandanand84 opened this issue May 8, 2017 · 3 comments

Comments

@anandanand84
Copy link

I was able to list the session, but could not create new page and it happens only on ubuntu 16.04 headless mode, works fine in os x. But I can list the pages using list command. Is the error message coming from chrome or chrome-remote-interface?

$ chrome-remote-interface new https://google.com
Error: Could not create new page
$ chrome-remote-interface list
[
    {
        "description": "",
        "devtoolsFrontendUrl": "/devtools/inspector.html?ws=localhost:9222/devtools/page/d0c3718c-45a7-4dac-9ceb-4f951caf716b",
        "id": "d0c3718c-45a7-4dac-9ceb-4f951caf716b",
        "title": "about:blank",
        "type": "page",
        "url": "about:blank",
        "webSocketDebuggerUrl": "ws://localhost:9222/devtools/page/d0c3718c-45a7-4dac-9ceb-4f951caf716b"
    }
]
@cyrus-and
Copy link
Owner

Possibly a duplicate of #96?

@anandanand84
Copy link
Author

yes I think so, but I was using chrome 59 beta channel and still the issue seems to exist. I will wait till stable comes out.

@cyrus-and
Copy link
Owner

cyrus-and commented May 8, 2017

FYI with Debian 9 it works:

$ google-chrome-beta --version
Google Chrome 59.0.3071.36 beta
$ google-chrome-beta --remote-debugging-port=9222 --headless

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants