Browsers
In Loadero all participants are simulated by hosting an actual browser on an instance in the cloud. Each participant runs their own browser instance. Loadero uses unmodified browser instances to simulate any possible overhead that could be created by the browser binaries. Currently, two browsers are available:
- Google Chrome
- Mozilla Firefox
Loadero supports the five most recent versions of these browsers. Browser version availability differs across various pricing plans. If there is a need for any other browsers, please contact support.
When creating a participant, you may select Latest Google Chrome or Latest Mozilla Firefox. These options will ensure that whatever the latest available version on Loadero is, the participant will be using that version. This way, if you wish for the participant to be using whatever is the latest version at the time, you will not have to manually update the participant each time a new browser version comes out.
Window size
By default, the window size for Google Chrome and Firefox browsers is set to 1920x1080 for all participants, regardless of the chosen project language. The interactable browser size that the test script shall automate may vary between browsers and script languages.
If you want to automate an application using a specific window size, you can switch to the desired window size at the beginning of the script, before executing the actual actions you would like to automate in the browser.
- JavaScript + Nightwatch.js
- Java + TestUI
- Python + Py-TestUI
client => {
client
.url("https://bing.com")
.waitForElementVisible("body", 10 * 1000)
.saveScreenshot("Original.png")
.setWindowSize(600, 400)
.pause(10 * 1000)
.saveScreenshot("Reduced.png")
// screenshots will indicate that the window has indeed been resized
}
public void testUIWithLoadero() {
UIElement body = E(byCssSelector("body"));
open("https://bing.com");
body.waitFor(10*1000).untilIsVisible();
body.saveScreenshot("Original.png");
getSelenideDriver().manage().window().setSize(
new org.openqa.selenium.Dimension(600, 400)
);
sleep(10*1000);
body.saveScreenshot("Reduced.png");
// screenshots will indicate that the window has indeed been resized
}
def test_on_loadero(driver: TestUIDriver):
body = e(driver, "css", "body")
driver.navigate_to("https://bing.com")
body.wait_until_visible(10)
driver.save_screenshot("Original.png")
driver.get_driver().set_window_size(600, 400)
time.sleep(10)
driver.save_screenshot("Reduced.png")
# screenshots will indicate that the window has indeed been resized
Deprecated version rotation
Since Loadero only supplies the five most recent versions of each browser, each version rotates out eventually, to be replaced by the next latest version. If a test participant had been set to use a browser version which ends up no longer supported by Loadero, that test participant's browser will be automatically replaced by the latest version of that browser.
For example, if your participant is set to use Google Chrome 120, then whenever Google Chrome 125 comes out, Loadero will cease to support Google Chrome 120, and your participant will be automatically set to use Google Chrome 125 instead. If it is significant to you to use an older version rather than the latest at all times, we suggest tracking Google Chrome and Mozilla Firefox release dates and plan accordingly.
API support
When creating or editing participants via the Loadero API, browsers must have a specific classificator name supplied in the request body.
If you wish for the participant to use the latest version of a browser, then use
the browser classificators chromeLatest
or firefoxLatest
.
If you want to set a specific version, then use the pattern chrome###
or
firefox###
, replacing the hash symbols with the appropriate version number,
e.g., chrome123
or firefox123
.