cURL
Executor for requests to simple web pages. Pages without JavaScript environment or HTML events. You can use this executor for legacy systems based on pure HTML4 architecture.
HTTP
Executor for requests to complex web pages where more interactivity using JavaScript elements and event triggers are required.
Selenium
Selenium is a web application automation solution created with the objective of supporting teams during automated tests, simulating a user.
Use this executor to create templates using Python scripts that automate password changes in web applications such as Instagram, Facebook, Gmail, etc.
For users who are not familiar with the Python language, it is possible to use the Selenium IDE extension for Google Chrome or Firefox. While the user browses the web application, all steps and information entered are captured and converted into a script that can be used as a template in the Segura® Platform.
Segura® Platform also supports the ActionChains class natively, which can be used to automate low-level interactions such as mouse movements, mouse button actions, keystrokes, and context menu interactions.
Embedded browser version
| Tool | Version |
|---|---|
| Chrome | 4.1.4 |
Functions you can use in the templates
You can use in your template all the commands available for the driver.* (or self.driver.*) class. Check the list of available commands in the official Selenium documentation. Check the list of functions that can be used in your Selenium template:
| Function | Description |
|---|---|
self.driver.* |
Commands for manipulating browser elements simulating the user. It can be used as driver.* as well. For example: self.driver.get("https://instagram.com"). |
WebDriverWait |
Makes the driver wait until a condition is true. You can use it to check if any page element has already been loaded, such as a login form field. For example: WebDriverWait(self.driver, 30).until(expected_conditions.presence_of_element_located((By.ID, "username"))). |
ActionChains |
Automates low-level interactions. This is useful for performing more complex actions such as hovering and dragging and dropping. For example: ActionChains(driver).move_to_element(menu).click(hidden_submenu).perform(). |
print |
Prints a message during the template execution. You can use it to make markups during execution. For example: print("Your message here"). |
timeout |
Wait for a determined time in seconds before continuing the execution. For example: timeout(15). |