Skip to content

Instantly share code, notes, and snippets.

@khanhdodang
Created August 1, 2016 13:50
Show Gist options
  • Save khanhdodang/642222cc2f4da391a56b10e5569a2e1c to your computer and use it in GitHub Desktop.
Save khanhdodang/642222cc2f4da391a56b10e5569a2e1c to your computer and use it in GitHub Desktop.
The error log from terminal as below:
1) auth form should deny access with wrong creds:
selector needs to be typeof `string`
running firefox
ProtocolError: selector needs to be typeof `string`
at Page.Object.create.submit.value (portal/pageobjects/form.page.js:20:20)
at Context.<anonymous> (portal/specs/form.spec.js:9:18)
at screenshot() - saveScreenshot.js:16:17
at saveScreenshot("errorShots/ERROR_firefox_2016-08-01T13-33-07.446Z.png") - safeExecute.js:28:24
2) auth form should allow access with correct creds:
selector needs to be typeof `string`
running firefox
ProtocolError: selector needs to be typeof `string`
at Page.Object.create.submit.value (portal/pageobjects/form.page.js:20:20)
at Context.<anonymous> (portal/specs/form.spec.js:17:18)
at screenshot() - saveScreenshot.js:16:17
at saveScreenshot("errorShots/ERROR_firefox_2016-08-01T13-33-08.776Z.png") - safeExecute.js:28:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment