Browser Synthetic Monitoring allows you to write Python scripts using the Selenium WebDriver library to create scheduled tests that can mimic end-user actions in remote browsers in supported locations. For supported Python versions and libraries, see Synthetic Jobs.
You can use synthetic scripts to test performance, features, end-user flows, and the end-user experience.
For example, your synthetic script might do the following:
- Visit your website.
- Search for products.
- Add items to a shopping cart.
- Check out the shopping cart and assert that the total price of the cart is correct.
- Enter payment details.
- Complete the purchase.
Benefits of Using Synthetic Scripts
Using synthetic scripts, you can:
- find broken user flows
- improve the performance of your site by finding where response times in your web applications are slow
- test new features
How Scripts Are Run
The entire process can be simplified into the following steps:
You add your script to a synthetic job in the Controller UI.
The synthetic job is transmitted to the Synthetic servers, where it is scheduled to be run.
When it's time for your job to run, a container is created just for your script.
- Your script runs in the container, controlling a web browser using Remote WebDriver.
After the script finishes running, the agent collects browser metrics and sends them to the Controller UI.
The Controller UI receives and displays the metrics from your synthetic job.
Get Help
In the Knowledge Base forum, read our Synthetic Scripts FAQ. If you can't find the answer to your question, submit your questions to the community.