ChromeGetInfo


 

ChromeGetInfo>session_id,item_type,returnValue

 

Retrieves url, title, or source of specified Chrome session. Requires a session_id created by ChromeStart.  


 

item_type can be one of:

url

title

source

Returns the value in the returnValue variable


 

See also: Chrome Functions

 

Example

 

Let>CHROMEDRIVER_EXE=c:\chromedriver.exe


 

//start a Chrome session

ChromeStart>session_id


 

//navigate to google.com

ChromeNavigate>session_id,url,https://www.google.com/


 

//get url, title and source

ChromeGetInfo>session_id,url,theURL

ChromeGetInfo>session_id,title,theTitle

ChromeGetInfo>session_id,source,theSource