Skip to content
Justin Graham edited this page Feb 7, 2014 · 1 revision

Q: When I run a phantomjs webdriver it's loading an about:blank page instead of my site?

A: This is usually caused by an invalid cert. You can fix by passing a flag to the .conf like so:

local-phantomjs {
    webdriver {
        browser:    phantomjs
        type:       local
        capabilities: {
            "phantomjs.cli.args" : ["--ignore-ssl-errors=yes"]
        }
    }
}
Clone this wiki locally