WebSessionObject

WebSessionObject[]

represents a web browser session started by StartWebSession for use with WebExecute.

Details

  • WebSessionObject[][prop] returns a property of the external session.
  • The WebSessionObject defines the connection to a web driver, an external process for controlling a web browser.
  • The following properties are available:
  • "Browser"the web browser used by the WebSessionObject
    "SessionID"a unique identifier for this web session
    "URL"the URL used for web driver communication
    "Process"the process associated with the web driver
  • WebSessionObject[]["Properties"] gives a list of available properties.

Examples

open allclose all

Basic Examples  (2)

Start an external session to get a WebSessionObject:

Delete the session with DeleteObject:

Query properties from a WebSessionObject:

Delete the session object:

Scope  (1)

Start a session:

List all possible properties:

Make a dataset of all WebSessionObject properties:

Delete the session object:

Wolfram Research (2019), WebSessionObject, Wolfram Language function, https://reference.wolfram.com/language/ref/WebSessionObject.html.

Text

Wolfram Research (2019), WebSessionObject, Wolfram Language function, https://reference.wolfram.com/language/ref/WebSessionObject.html.

CMS

Wolfram Language. 2019. "WebSessionObject." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/WebSessionObject.html.

APA

Wolfram Language. (2019). WebSessionObject. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/WebSessionObject.html

BibTeX

@misc{reference.wolfram_2024_websessionobject, author="Wolfram Research", title="{WebSessionObject}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/WebSessionObject.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_websessionobject, organization={Wolfram Research}, title={WebSessionObject}, year={2019}, url={https://reference.wolfram.com/language/ref/WebSessionObject.html}, note=[Accessed: 22-November-2024 ]}