We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91daa27 commit 4089314Copy full SHA for 4089314
javascript/node/selenium-webdriver/lib/webdriver.js
@@ -1405,7 +1405,7 @@ class WebDriver {
1405
if (requestPausedParams.request.url == httpResponse.urlToIntercept) {
1406
connection.execute('Fetch.fulfillRequest', {
1407
requestId: requestPausedParams['requestId'],
1408
- responseCode: 200,
+ responseCode: httpResponse.status,
1409
responseHeaders: httpResponse.headers,
1410
body: httpResponse.body,
1411
})
0 commit comments