ChromeSetElementValue


 

ChromeSetElementValue>session_id,element_id,value

 

Sets the value of the specified element. Requires a session_id created by ChromeStart and an element_id returned by ChromeFindElements.


 

To send non character keys such as Return and Backspace see Key Codes for Edge and Chrome.


 

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/


 

//find the input (name=q)

ChromeFindElements>session_id,name,q,elements


 

//enter something into it

ChromeSetElementValue>session_id,elements_1,macro scheduler