How to verify in protractor navigation to 3rd party page such login with your Google account?

markkra323

We have options to log in with 3rd party providers using your Google or Microsoft accounts. I just need to verify that when you click on the link you get taken to the right provider page. After the page is loaded, I get:

Error: Error while waiting for Protractor to sync with the page

Seems the WebDriver instance is disconnected. What's the proper way to verify you've landed in a 3rd party site using protractor?

Andres D

Protractor waits until angular is done loading to proceed with your test. It will show you that error because you are going to a non-angular URL. To test non-angular pages you should use the webdriver api directly.

You can access webdriver through browser.driver

Here is an example: https://github.com/angular/protractor/blob/master/spec/withLoginConf.js

You can find some documentation here: https://github.com/angular/protractor/blob/master/docs/getting-started.md#setting-up-the-system-under-test

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Google Analytics - 3rd party access to account authorisation

From Dev

Import 3rd Party Page Views Data on Google Analytics

From Dev

iOS support 3rd party navigation

From Dev

Is is possible to skip the login page when the only option is a 3rd party?

From Dev

Javascript - Open a 3rd party web page in new tab and login

From Dev

How do you disable a 3rd party keyboard in your iOS app

From Dev

How can I login a client to a 3rd party site with basic access authentication from django

From Dev

How to override New Tab page on Chrome (without 3rd party software, eg. extensions)

From Dev

How to serialize 3rd party class?

From Dev

How to import 3rd party libraries

From Java

Storage account access for 3rd party Azure

From Dev

How to create tracking pixel with Google Analytics for 3rd party site?

From Dev

How to use Google Now to set alarms and reminders through 3rd party app

From Dev

How to Post Form Data to 3rd Party Server After Google Invisible reCaptcha Success?

From Dev

Implementing automatic login to 3rd party website

From Dev

Secure rest api with 3rd party login provider

From Dev

How to login to your ubuntu account automatically in background?

From Dev

Add 3rd party library to Google Cloud Virtual Machine

From Dev

Embed google analytics benchmarking report on 3rd party website

From Dev

How to change a global constant defined in a 3rd party library

From Dev

How to call 3rd party Erlang module from Elixir?

From Dev

How to 'sneak' interface behind 3rd party objects

From Dev

How to install 3rd party module so that it is loaded on boot?

From Dev

how to recompile the 3rd party jars using lower version

From Dev

How to deploy a 3rd party set of libs to Nexus

From Dev

How to not expose a 3rd party library on the global scope?

From Dev

How to I import 3rd party frameworks into Xcode Playground?

From Dev

How to fetch dynamic value in 3rd Party Tags in DTM?

From Dev

How do I link to a 3rd party Swift framework

Related Related

  1. 1

    Google Analytics - 3rd party access to account authorisation

  2. 2

    Import 3rd Party Page Views Data on Google Analytics

  3. 3

    iOS support 3rd party navigation

  4. 4

    Is is possible to skip the login page when the only option is a 3rd party?

  5. 5

    Javascript - Open a 3rd party web page in new tab and login

  6. 6

    How do you disable a 3rd party keyboard in your iOS app

  7. 7

    How can I login a client to a 3rd party site with basic access authentication from django

  8. 8

    How to override New Tab page on Chrome (without 3rd party software, eg. extensions)

  9. 9

    How to serialize 3rd party class?

  10. 10

    How to import 3rd party libraries

  11. 11

    Storage account access for 3rd party Azure

  12. 12

    How to create tracking pixel with Google Analytics for 3rd party site?

  13. 13

    How to use Google Now to set alarms and reminders through 3rd party app

  14. 14

    How to Post Form Data to 3rd Party Server After Google Invisible reCaptcha Success?

  15. 15

    Implementing automatic login to 3rd party website

  16. 16

    Secure rest api with 3rd party login provider

  17. 17

    How to login to your ubuntu account automatically in background?

  18. 18

    Add 3rd party library to Google Cloud Virtual Machine

  19. 19

    Embed google analytics benchmarking report on 3rd party website

  20. 20

    How to change a global constant defined in a 3rd party library

  21. 21

    How to call 3rd party Erlang module from Elixir?

  22. 22

    How to 'sneak' interface behind 3rd party objects

  23. 23

    How to install 3rd party module so that it is loaded on boot?

  24. 24

    how to recompile the 3rd party jars using lower version

  25. 25

    How to deploy a 3rd party set of libs to Nexus

  26. 26

    How to not expose a 3rd party library on the global scope?

  27. 27

    How to I import 3rd party frameworks into Xcode Playground?

  28. 28

    How to fetch dynamic value in 3rd Party Tags in DTM?

  29. 29

    How do I link to a 3rd party Swift framework

HotTag

Archive