Check if a Popup Dialog is a Window or not for Selenium App - Integrated Circuits - - An Online Book - |
||||||||
Integrated Circuits http://www.globalsino.com/ICs/ | ||||||||
Chapter/Index: Introduction | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | Appendix | ||||||||
=================================================================================
Window handle is a unique identifier that holds the address of all the windows. Therefore, the window handle can be used to check if a popup dialog is a window or not: In some cases, the popup dialog is not a window, but it is just a HTML dialog. Therefore, you can treat it like any other HTML on the page and get its contents. If it is a compound class name, then it contains more than one class. In this case, a CSS selector can be used to find elements with those class names. ============================================ window_handles and move_to: code:
|
||||||||
================================================================================= | ||||||||
|
||||||||