WebWindowObject
WebWindowObject […]
represents an open window or tab in a web browser.
Details
- WebExecute [session,"BrowserWindows"] gives the current list of web window objects for a web session.
- The following WebExecute commands operate on windows specified by WebWindowObject […]:
-
"SetBrowserWindow"window make a window active"SetWindowPosition"{window,{x,y}} set the screen position of a window"WindowMaximize"window maximize a window"WindowMinimize"window minimize a window
Examples
Basic Examples (2)
Start a web session:
Use WebExecute to get the open window as a WebWindowObject :
Delete the session with DeleteObject :
Start a web session:
Use WebExecute to open a new page:
Use WebExecute to open a new browser tab:
Use WebExecute to get the open windows:
Use WebExecute to get the title of the first page:
Use WebExecute to switch to the second window:
Use WebExecute to get the title of the second page:
Delete the session with DeleteObject :
Related Guides
Related Workflows
- Control a Web Browser Programmatically
History
Text
Wolfram Research (2019), WebWindowObject, Wolfram Language function, https://reference.wolfram.com/language/ref/WebWindowObject.html.
CMS
Wolfram Language. 2019. "WebWindowObject." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/WebWindowObject.html.
APA
Wolfram Language. (2019). WebWindowObject. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/WebWindowObject.html
BibTeX
@misc{reference.wolfram_2025_webwindowobject, author="Wolfram Research", title="{WebWindowObject}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/WebWindowObject.html}", note=[Accessed: 26-April-2025 ]}
BibLaTeX
@online{reference.wolfram_2025_webwindowobject, organization={Wolfram Research}, title={WebWindowObject}, year={2019}, url={https://reference.wolfram.com/language/ref/WebWindowObject.html}, note=[Accessed: 26-April-2025 ]}