Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Page status code #1

Open
gregoryduckworth opened this issue Sep 24, 2018 · 0 comments
Open

Page status code #1

gregoryduckworth opened this issue Sep 24, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@gregoryduckworth
Copy link
Contributor

We might want to add the functionality in future where we get the response code from a webpage, this could be done by:

var request = require('request');

request('https://www.bbc.co.uk', function (error, response, body) {
    browser.assert.equal(response.statusCode, 200);
});
@gregoryduckworth gregoryduckworth added the enhancement New feature or request label Sep 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant