Skip to content

setTimeout (UI Automation - Synchronization)

Compatible with:
  • Purpose
  • This command is used to specify the amount of time that selenium will wait for actions to complete.This time can be increased or decreased. The default timeout is 120 seconds. 
  • Actions that require waiting include "open" and the "waitFor*" actions.
  • Syntax
  • setTimeout(timeout)
  • Target
  • timeout -the timeout in milliseconds, after which the below commands will return with an error
  • Value
  • N/A
  • Return Value
  • N/A
 

Feedback and Knowledge Base