Macro Scheduler 15

EdgeSetElementValue

EdgeSetElementValue>session_id,element_id,value

 

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


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


See also: Edge Functions

 

Example

 

Let>EDGEDRIVER_EXE=c:\msedgedriver.exe

//start a Edge session
EdgeStart>session_id

//navigate to google.com
EdgeNavigate>session_id,url,https://www.google.com/


//find the input (name=q)
EdgeFindElements>session_id,name,q,elements

//enter something into it
EdgeSetElementValue>session_id,elements_1,macro scheduler