V
V
Vyacheslav Grachunov2017-04-04 22:55:40
JavaScript
Vyacheslav Grachunov, 2017-04-04 22:55:40

How to get a list of open windows on Phantom.JS?

How to get a list of open windows in Phantom.JS and switch between them? Or does it fundamentally work with one page?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Sundukov, 2017-04-04
@alekciy

As far as I remember, neither. Switching is not required, you just need to remember the ID of the desired session and do not close it. By webdriver you can get a list of available sessions.

L
livestd, 2017-05-25
@livestd

page.pages

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question