TestingBot Blog

TestingBot provides a cloud of browsers and devices, ready to run your Automated, Live and Visual tests.

< Back to Blog Overview

Mocking with WebDriver

2019-03-04

We've added various new/custom WebDriver commands to our Chrome Browsers.



Throttle Network Speed

With this new option, you can simulate different network speeds during your test.


Simulate a 4G connection, specify a GPRS speed or even test how your page reacts when there's no internet connection (offline mode).


You can change these settings during your test, so it makes it very easily to test real life situations. For example; people using their cell-phone suddenly experience a slower connection.


Fetch Network Requests

You can now fetch all network requests and responses during your test.
As WebDriver does not support reading status codes, it is now possible to use this command to fetch the status code, response headers and request headers.


Intercept and Mock

With this functionality, you can intercept and change responses during your test:


Documentation for this new feature is available on our Debugging support page.

< Back to Blog Overview

Sign up for a Free Trial

Start testing your apps with TestingBot.

No credit card required.