samedi 4 mars 2017

Using "nightwatch.js" how do i inspect element that generates with a dynamic session id in a new tab?

I stuck in the middle to inspect some elements that are generated in the new tab with a session id

for ex : http://ift.tt/2mXxRtr

When i click on a hyperlink it opens the above link in a new tab.So, iam unable to trace out the elements from the newly opened tab.

 mypage.assert.title("Make A Payment")

When i use the above assert , it shows the title of the previous html page but not the currently opened tab page title.

In simple way , i want to know how to test the dynamically opened tabs using nightwatch.js with selenium and chrome driver

Aucun commentaire:

Enregistrer un commentaire