EdgeWaitForText


 

EdgeWaitForText>session_id,all,text_to_find,timeout,result

 

Waits for text to exist in the page.
 

session_id: a session id created by EdgeStart.

all: 0 to look at text only, 1 to look at full source

text_to_find: the text to wait for

timeout: a timeout in seconds. If the text is not found in this time the command will exit with result set to 0.

result: wil return 1 if found, 0 if not.

 

See also: Edge Functions

 

Example

 

Let>EDGEDRIVER_EXE=c:\msedgedriver.exe

 

//start an Edge session

EdgeStart>session_id


//navigate to google.com

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

EdgeWaitForText>session_id,0,Accept,5,nFound