Skip to content

Commit

Permalink
Updated browserstack urls
Browse files Browse the repository at this point in the history
  • Loading branch information
wakaleo committed Dec 22, 2023
1 parent 25611f2 commit a3f76a1
Show file tree
Hide file tree
Showing 12 changed files with 25 additions and 31 deletions.
4 changes: 2 additions & 2 deletions docs/cloud/browserstack.md
Expand Up @@ -5,7 +5,7 @@ sidebar_position: 3
---
# Introduction

[Browserstack](https://www.browserstack.com/) is an online platform that allows you to run cross-browser tests in parallel at scale. In this section, we will see how it integrates with Serenity.
[Browserstack](https://www.browserstack.com/automate?utm_source=serenity&utm_medium=partnered) is an online platform that allows you to run cross-browser tests in parallel at scale. In this section, we will see how it integrates with Serenity.

## Adding the Browserstack plugin to your project

Expand All @@ -24,7 +24,7 @@ Or in Gradle:
```

## Specifying your BrowserStack credentials and grid URL
Next, you will need a [BrowserStack account](https://www.browserstack.com/pricing).
Next, you will need a [BrowserStack account](https://www.browserstack.com/pricing).

You can add your [BrowserStack credentials](https://www.browserstack.com/accounts/settings) in two ways. The simplest is to define the following system properties:
* `BROWSERSTACK_USER` - BrowserStack user name
Expand Down
14 changes: 4 additions & 10 deletions docs/cloud/selenium-grid.md
Expand Up @@ -5,14 +5,14 @@ sidebar_position: 1
---
# Introduction

[Selenium Grid](https://www.selenium.dev/documentation/grid/) allows the execution of WebDriver scripts on remote machines (virtual or real) by routing commands sent by the client to remote browser instances. It aims to provide an easy way to run tests in parallel on multiple machines.
[Selenium Grid](https://www.selenium.dev/documentation/grid/) allows the execution of WebDriver scripts on remote machines (virtual or real) by routing commands sent by the client to remote browser instances. It aims to provide an easy way to run tests in parallel on multiple machines.

Selenium Grid 4 takes advantage of a number of new technologies in order to facilitate scaling up while allowing local execution.

You can also use Serenity to run your WebDriver tests on a remote machine, such as a Selenium Grid or a remote service such as provided by [BrowserStack](https://www.browserstack.com) or [LambdaTest](https://www.lambdatest.com?utm_source=serenity_bdd&utm_medium=website). This allows you to run your web tests against a variety of different browsers and operating systems, and also benefit from faster test execution when running the tests in parallel. We will look at how to do this in detail later on in the chapter.
You can also use Serenity to run your WebDriver tests on a remote machine, such as a Selenium Grid or a remote service such as provided by [BrowserStack](https://www.browserstack.com/automate?utm_source=serenity&utm_medium=partnered) or [LambdaTest](https://www.lambdatest.com?utm_source=serenity_bdd&utm_medium=website). This allows you to run your web tests against a variety of different browsers and operating systems, and also benefit from faster test execution when running the tests in parallel. We will look at how to do this in detail later on in the chapter.

## Running Selenium Grid locally
The simplest way to start with Selenium Grid is to run a standalone instance on your local machine. This allows you to make sure your Serenity configuration has been correctly set up to use the Selenim grid.
The simplest way to start with Selenium Grid is to run a standalone instance on your local machine. This allows you to make sure your Serenity configuration has been correctly set up to use the Selenim grid.

To try this own, download the latest `selenium-server` jar file from [the Selenium website](https://www.selenium.dev/downloads/). Then start up the server with the following command:

Expand All @@ -23,7 +23,7 @@ java -jar selenium-server-<version>.jar standalone
This will start up the local instance of the Selenium Grid server. You can check out the dashboard on [http://localhost:4444/ui](http://localhost:4444/ui).

You can configure your tests to run against this server by setting three properties:
- Set the `webdriver.driver` property to `remote`
- Set the `webdriver.driver` property to `remote`
- Set the `webdriver.remote.url` property to the address of your Selenium Grid instance (http://localhost:4444 by default)
- Set the `webdriver.remote.driver` property to the name of the driver you want to run (e.g. "chrome")

Expand Down Expand Up @@ -51,9 +51,3 @@ You can also pass the usual driver-specific capabilities to the remote browser,
```
mvn verify -Dwebdriver.remote.url=http://localhost:4444/wd/hub -Dwebdriver.remote.driver=chrome -Dwebdriver.remote.os=WINDOWS -Dchrome.switches="--no-sandbox,--ignore-certificate-errors,--homepage=about:blank,--no-first-run"
```






2 changes: 1 addition & 1 deletion src/components/Sponsors.js
Expand Up @@ -6,7 +6,7 @@ const SponsorList = [
{
title: 'BrowserStack',
logo: 'img/sponsors/browserstack.png',
link: 'https://www.browserstack.com/automate?utm_source=serenity-bdd&utm_medium=partnered',
link: 'https://www.browserstack.com/automate?utm_source=serenity&utm_medium=partnered',
description: 'Give your users a seamless experience by testing on 3000+ real devices and browsers. Don\'t compromise with emulators and simulators.'
},
{
Expand Down
4 changes: 2 additions & 2 deletions theserenitybook.legacy/2.0.30/remote.html
Expand Up @@ -231,7 +231,7 @@ <h3 class="title"><a href="index.html">The Serenity Book</a></h3>
</div>
<article class="doc">
<div class="paragraph">
<p>You can also use Serenity to run your WebDriver tests on a remote machine, such as a Selenium Grid or a remote service such as provided by <a href="http://www.saucelabs.com">SauceLabs</a> or <a href="https://www.browserstack.com/automate?utm_source=serenity-bdd&utm_medium=partnered">BrowserStack</a>. This allows you to run your web tests against a variety of different browsers and operating systems, and also benefit from faster test execution when running the tests in parallel.</p>
<p>You can also use Serenity to run your WebDriver tests on a remote machine, such as a Selenium Grid or a remote service such as provided by <a href="http://www.saucelabs.com">SauceLabs</a> or <a href="https://www.browserstack.com/automate?utm_source=serenity&utm_medium=partnered">BrowserStack</a>. This allows you to run your web tests against a variety of different browsers and operating systems, and also benefit from faster test execution when running the tests in parallel.</p>
</div>
<div class="paragraph">
<p>In all cases, you tell Serenity to run tests remotely by using the Selenium Remote driver,</p>
Expand Down Expand Up @@ -446,7 +446,7 @@ <h2 id="_running_tests_on_saucelabs"><a class="anchor" href="#_running_tests_on_
<h2 id="_running_serenity_tests_on_browserstack"><a class="anchor" href="#_running_serenity_tests_on_browserstack"></a>Running Serenity Tests on BrowserStack</h2>
<div class="sectionbody">
<div class="paragraph">
<p>Serenity provides integrated support for running tests on <a href="https://www.browserstack.com/automate?utm_source=serenity-bdd&utm_medium=partnered">BrowserStack</a>.</p>
<p>Serenity provides integrated support for running tests on <a href="https://www.browserstack.com/automate?utm_source=serenity&utm_medium=partnered">BrowserStack</a>.</p>
</div>
<div class="paragraph">
<p>First of all, add the <code>serenity-browserstack</code> dependency to your project:</p>
Expand Down
4 changes: 2 additions & 2 deletions theserenitybook.legacy/2.0.59/remote.html
Expand Up @@ -243,7 +243,7 @@ <h3 class="title"><a href="index.html">The Serenity Book</a></h3>
</div>
<article class="doc">
<div class="paragraph">
<p>You can also use Serenity to run your WebDriver tests on a remote machine, such as a Selenium Grid or a remote service such as provided by <a href="http://www.saucelabs.com">SauceLabs</a> or <a href="https://www.browserstack.com/automate?utm_source=serenity-bdd&utm_medium=partnered">BrowserStack</a>. This allows you to run your web tests against a variety of different browsers and operating systems, and also benefit from faster test execution when running the tests in parallel.</p>
<p>You can also use Serenity to run your WebDriver tests on a remote machine, such as a Selenium Grid or a remote service such as provided by <a href="http://www.saucelabs.com">SauceLabs</a> or <a href="https://www.browserstack.com/automate?utm_source=serenity&utm_medium=partnered">BrowserStack</a>. This allows you to run your web tests against a variety of different browsers and operating systems, and also benefit from faster test execution when running the tests in parallel.</p>
</div>
<div class="paragraph">
<p>In all cases, you tell Serenity to run tests remotely by using the Selenium Remote driver,</p>
Expand Down Expand Up @@ -458,7 +458,7 @@ <h2 id="_running_tests_on_saucelabs"><a class="anchor" href="#_running_tests_on_
<h2 id="_running_serenity_tests_on_browserstack"><a class="anchor" href="#_running_serenity_tests_on_browserstack"></a>Running Serenity Tests on BrowserStack</h2>
<div class="sectionbody">
<div class="paragraph">
<p>Serenity provides integrated support for running tests on <a href="https://www.browserstack.com/automate?utm_source=serenity-bdd&utm_medium=partnered">BrowserStack</a>.</p>
<p>Serenity provides integrated support for running tests on <a href="https://www.browserstack.com/automate?utm_source=serenity&utm_medium=partnered">BrowserStack</a>.</p>
</div>
<div class="paragraph">
<p>First of all, add the <code>serenity-browserstack</code> dependency to your project:</p>
Expand Down
4 changes: 2 additions & 2 deletions theserenitybook.legacy/2.0.67/remote.html
Expand Up @@ -244,7 +244,7 @@ <h3 class="title"><a href="index.html">The Serenity Book</a></h3>
</div>
<article class="doc">
<div class="paragraph">
<p>You can also use Serenity to run your WebDriver tests on a remote machine, such as a Selenium Grid or a remote service such as provided by <a href="http://www.saucelabs.com">SauceLabs</a> or <a href="https://www.browserstack.com/automate?utm_source=serenity-bdd&utm_medium=partnered">BrowserStack</a>. This allows you to run your web tests against a variety of different browsers and operating systems, and also benefit from faster test execution when running the tests in parallel.</p>
<p>You can also use Serenity to run your WebDriver tests on a remote machine, such as a Selenium Grid or a remote service such as provided by <a href="http://www.saucelabs.com">SauceLabs</a> or <a href="https://www.browserstack.com/automate?utm_source=serenity&utm_medium=partnered">BrowserStack</a>. This allows you to run your web tests against a variety of different browsers and operating systems, and also benefit from faster test execution when running the tests in parallel.</p>
</div>
<div class="paragraph">
<p>In all cases, you tell Serenity to run tests remotely by using the Selenium Remote driver,</p>
Expand Down Expand Up @@ -459,7 +459,7 @@ <h2 id="_running_tests_on_saucelabs"><a class="anchor" href="#_running_tests_on_
<h2 id="_running_serenity_tests_on_browserstack"><a class="anchor" href="#_running_serenity_tests_on_browserstack"></a>Running Serenity Tests on BrowserStack</h2>
<div class="sectionbody">
<div class="paragraph">
<p>Serenity provides integrated support for running tests on <a href="https://www.browserstack.com/automate?utm_source=serenity-bdd&utm_medium=partnered">BrowserStack</a>.</p>
<p>Serenity provides integrated support for running tests on <a href="https://www.browserstack.com/automate?utm_source=serenity&utm_medium=partnered">BrowserStack</a>.</p>
</div>
<div class="paragraph">
<p>First of all, add the <code>serenity-browserstack</code> dependency to your project:</p>
Expand Down
4 changes: 2 additions & 2 deletions theserenitybook.legacy/2.1.3/remote.html
Expand Up @@ -244,7 +244,7 @@ <h3 class="title"><a href="index.html">The Serenity Book</a></h3>
</div>
<article class="doc">
<div class="paragraph">
<p>You can also use Serenity to run your WebDriver tests on a remote machine, such as a Selenium Grid or a remote service such as provided by <a href="http://www.saucelabs.com">SauceLabs</a> or <a href="https://www.browserstack.com/automate?utm_source=serenity-bdd&utm_medium=partnered">BrowserStack</a>. This allows you to run your web tests against a variety of different browsers and operating systems, and also benefit from faster test execution when running the tests in parallel.</p>
<p>You can also use Serenity to run your WebDriver tests on a remote machine, such as a Selenium Grid or a remote service such as provided by <a href="http://www.saucelabs.com">SauceLabs</a> or <a href="https://www.browserstack.com/automate?utm_source=serenity&utm_medium=partnered">BrowserStack</a>. This allows you to run your web tests against a variety of different browsers and operating systems, and also benefit from faster test execution when running the tests in parallel.</p>
</div>
<div class="paragraph">
<p>In all cases, you tell Serenity to run tests remotely by using the Selenium Remote driver,</p>
Expand Down Expand Up @@ -459,7 +459,7 @@ <h2 id="_running_tests_on_saucelabs"><a class="anchor" href="#_running_tests_on_
<h2 id="_running_serenity_tests_on_browserstack"><a class="anchor" href="#_running_serenity_tests_on_browserstack"></a>Running Serenity Tests on BrowserStack</h2>
<div class="sectionbody">
<div class="paragraph">
<p>Serenity provides integrated support for running tests on <a href="https://www.browserstack.com/automate?utm_source=serenity-bdd&utm_medium=partnered">BrowserStack</a>.</p>
<p>Serenity provides integrated support for running tests on <a href="https://www.browserstack.com/automate?utm_source=serenity&utm_medium=partnered">BrowserStack</a>.</p>
</div>
<div class="paragraph">
<p>First of all, add the <code>serenity-browserstack</code> dependency to your project:</p>
Expand Down
4 changes: 2 additions & 2 deletions theserenitybook.legacy/2.1.4/remote.html
Expand Up @@ -288,7 +288,7 @@ <h3 class="title"><a href="index.html">The Serenity Book</a></h3>
<div class="content">
<article class="doc">
<div class="paragraph">
<p>You can also use Serenity to run your WebDriver tests on a remote machine, such as a Selenium Grid or a remote service such as provided by <a href="http://www.saucelabs.com">SauceLabs</a> or <a href="https://www.browserstack.com/automate?utm_source=serenity-bdd&utm_medium=partnered">BrowserStack</a>. This allows you to run your web tests against a variety of different browsers and operating systems, and also benefit from faster test execution when running the tests in parallel.</p>
<p>You can also use Serenity to run your WebDriver tests on a remote machine, such as a Selenium Grid or a remote service such as provided by <a href="http://www.saucelabs.com">SauceLabs</a> or <a href="https://www.browserstack.com/automate?utm_source=serenity&utm_medium=partnered">BrowserStack</a>. This allows you to run your web tests against a variety of different browsers and operating systems, and also benefit from faster test execution when running the tests in parallel.</p>
</div>
<div class="paragraph">
<p>In all cases, you tell Serenity to run tests remotely by using the Selenium Remote driver,</p>
Expand Down Expand Up @@ -503,7 +503,7 @@ <h2 id="_running_tests_on_saucelabs"><a class="anchor" href="#_running_tests_on_
<h2 id="_running_serenity_tests_on_browserstack"><a class="anchor" href="#_running_serenity_tests_on_browserstack"></a>Running Serenity Tests on BrowserStack</h2>
<div class="sectionbody">
<div class="paragraph">
<p>Serenity provides integrated support for running tests on <a href="https://www.browserstack.com/automate?utm_source=serenity-bdd&utm_medium=partnered">BrowserStack</a>.</p>
<p>Serenity provides integrated support for running tests on <a href="https://www.browserstack.com/automate?utm_source=serenity&utm_medium=partnered">BrowserStack</a>.</p>
</div>
<div class="paragraph">
<p>First of all, add the <code>serenity-browserstack</code> dependency to your project:</p>
Expand Down
4 changes: 2 additions & 2 deletions theserenitybook.legacy/2.2.8/remote.html
Expand Up @@ -291,7 +291,7 @@ <h3 class="title"><a href="index.html">The Serenity Book</a></h3>
<div class="content">
<article class="doc">
<div class="paragraph">
<p>You can also use Serenity to run your WebDriver tests on a remote machine, such as a Selenium Grid or a remote service such as provided by <a href="http://www.saucelabs.com">SauceLabs</a> or <a href="https://www.browserstack.com/automate?utm_source=serenity-bdd&utm_medium=partnered">BrowserStack</a>. This allows you to run your web tests against a variety of different browsers and operating systems, and also benefit from faster test execution when running the tests in parallel.</p>
<p>You can also use Serenity to run your WebDriver tests on a remote machine, such as a Selenium Grid or a remote service such as provided by <a href="http://www.saucelabs.com">SauceLabs</a> or <a href="https://www.browserstack.com/automate?utm_source=serenity&utm_medium=partnered">BrowserStack</a>. This allows you to run your web tests against a variety of different browsers and operating systems, and also benefit from faster test execution when running the tests in parallel.</p>
</div>
<div class="paragraph">
<p>In all cases, you tell Serenity to run tests remotely by using the Selenium Remote driver,</p>
Expand Down Expand Up @@ -506,7 +506,7 @@ <h2 id="_running_tests_on_saucelabs"><a class="anchor" href="#_running_tests_on_
<h2 id="_running_serenity_tests_on_browserstack"><a class="anchor" href="#_running_serenity_tests_on_browserstack"></a>Running Serenity Tests on BrowserStack</h2>
<div class="sectionbody">
<div class="paragraph">
<p>Serenity provides integrated support for running tests on <a href="https://www.browserstack.com/automate?utm_source=serenity-bdd&utm_medium=partnered">BrowserStack</a>.</p>
<p>Serenity provides integrated support for running tests on <a href="https://www.browserstack.com/automate?utm_source=serenity&utm_medium=partnered">BrowserStack</a>.</p>
</div>
<div class="paragraph">
<p>First of all, add the <code>serenity-browserstack</code> dependency to your project:</p>
Expand Down
4 changes: 2 additions & 2 deletions theserenitybook.legacy/2.3.8/remote.html
Expand Up @@ -291,7 +291,7 @@ <h3 class="title"><a href="index.html">The Serenity Book</a></h3>
<div class="content">
<article class="doc">
<div class="paragraph">
<p>You can also use Serenity to run your WebDriver tests on a remote machine, such as a Selenium Grid or a remote service such as provided by <a href="http://www.saucelabs.com">SauceLabs</a> or <a href="https://www.browserstack.com/automate?utm_source=serenity-bdd&utm_medium=partnered">BrowserStack</a>. This allows you to run your web tests against a variety of different browsers and operating systems, and also benefit from faster test execution when running the tests in parallel.</p>
<p>You can also use Serenity to run your WebDriver tests on a remote machine, such as a Selenium Grid or a remote service such as provided by <a href="http://www.saucelabs.com">SauceLabs</a> or <a href="https://www.browserstack.com/automate?utm_source=serenity&utm_medium=partnered">BrowserStack</a>. This allows you to run your web tests against a variety of different browsers and operating systems, and also benefit from faster test execution when running the tests in parallel.</p>
</div>
<div class="paragraph">
<p>In all cases, you tell Serenity to run tests remotely by using the Selenium Remote driver,</p>
Expand Down Expand Up @@ -506,7 +506,7 @@ <h2 id="_running_tests_on_saucelabs"><a class="anchor" href="#_running_tests_on_
<h2 id="_running_serenity_tests_on_browserstack"><a class="anchor" href="#_running_serenity_tests_on_browserstack"></a>Running Serenity Tests on BrowserStack</h2>
<div class="sectionbody">
<div class="paragraph">
<p>Serenity provides integrated support for running tests on <a href="https://www.browserstack.com/automate?utm_source=serenity-bdd&utm_medium=partnered">BrowserStack</a>.</p>
<p>Serenity provides integrated support for running tests on <a href="https://www.browserstack.com/automate?utm_source=serenity&utm_medium=partnered">BrowserStack</a>.</p>
</div>
<div class="paragraph">
<p>First of all, add the <code>serenity-browserstack</code> dependency to your project:</p>
Expand Down

0 comments on commit a3f76a1

Please sign in to comment.