Answers

Question and Answer:

  Home  Automation

⟩ Tell us what is the difference between getWindowHandles() and getWindowHandle()?

You can get the browser address using these commands. But if you use getWindowHandle(), you’ll get the address of the current browser where the control is and return type is a string. So, if you use getWindowHandles(), you will get the address of all the open browser and its return type is an iterator.

 141 views

More Questions for you: