Skip to content

Did Okta modify their HTML?#13

Open
dabest1 wants to merge 2 commits intoEarnest-Labs:masterfrom
dabest1:master
Open

Did Okta modify their HTML?#13
dabest1 wants to merge 2 commits intoEarnest-Labs:masterfrom
dabest1:master

Conversation

@dabest1
Copy link

@dabest1 dabest1 commented Mar 31, 2017

Updated Nightmare interactions with the web page to reflect what I am seeing. Had to comment out if (hasError) block as it is always failing and also needs a new selector.

…eb page to reflect what I am seeing. Had to comment out if (hasError) block as it is always failing and also needs a new selector.
@bromanko
Copy link
Contributor

bromanko commented Apr 3, 2017

Hi @dabest1. Thanks for contributing. We're not seeing the same behavior on our side. It's possible that the new selector you propose is more universal. However, I'm uncomfortable with commenting out the error handling. Can you amend this PR to include working error handling?

@dabest1
Copy link
Author

dabest1 commented Apr 3, 2017

I will try to add some error handling. But the original selectors being used by your code are not available for me for some reason. Should it just be a separate branch for people who see the same problem as me?

…ew problem, where intermediate SAML page cannot be read. Had to remove error checking for Push step and create a function, which checks for desired selector in a loop. The loop required adding sleep module. Improved performance by changing Nightmare .type to .insert.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants