ChromeElementAction


 

ChromeElementAction>session_id,element_id,action

 

Triggers an event on the specified element. Requires a session_id created by ChromeStart and an element_id returned by ChromeFindElements.


 

action can be one of:

click

submit

clear

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/


 

ChromeFindElements>session_id,name,btnK,elements

ChromeElementAction>session_id,elements_1,click