---
title: Automated testing with PHP and Selenium
description: Learn how to use PHP with Selenium to do automated browser testing.
source_url:
  html: https://testingbot.com/resources/videos/php-automated-testing-selenium
  md: https://testingbot.com/resources/videos/php-automated-testing-selenium.md
---

# Selenium WebDriver testing with PHP

 Share on Facebook 

 Share on Twitter 

 Post on Reddit 

 Share link 

https://www.youtube.com/embed/rqrxS7HZdlI
**Video Transcript:**  

Welcome to the tutorial on how to run your first PHP automated test on TestingBot.

First make sure you have PHP installed on your system.   
 Once you have PHP installed make sure to download and install composer.

To do so, open the terminal window and paste the code.   
 Now we need to require Facebook Webdriver, which we will use to run our automated test.

When this is ready, please paste the example code in a file.

To start your first test simply run the command.   
 This test will now connect to the TestingBot Selenium grid.

After a few seconds you will see the tests appear in the TestingBot dashboard.   
 The test has completed successfully. You can now see the first test in your dashboard.

Click the test to see more details.   
 On the details page you see the steps and a video of the test.

## Sidebar

### TestingBot Cloud Testing

Run automated, manual and visual tests on remote browsers and devices. Sign up for a free trial.

[Free Trial](https://testingbot.com/users/sign_up)

### Other videos

[![Selenium testing with Python Tutorial](https://testingbot.com/assets/videos/python-automated-bacffb33401f4772664d4d9c06455f2c0e4fabed0bfadf10770c0535a2bb6e76.png)](https://testingbot.com/resources/videos/python-automated-testing-selenium)

#### Selenium testing with Python Tutorial

Want to use Python with Selenium? See this video to learn...

[Watch video →](https://testingbot.com/resources/videos/python-automated-testing-selenium)

[![Automated Browser Testing with Ruby](https://testingbot.com/assets/videos/ruby-automated-a49902d15d265750dcd04b07a1fe142d8aac47976a9cae828e47835c01ce798f.png)](https://testingbot.com/resources/videos/ruby-automated-testing-selenium)

#### Automated Browser Testing with Ruby

Video tutorial on how to run Ruby Automated Test on Testi...

[Watch video →](https://testingbot.com/resources/videos/ruby-automated-testing-selenium)

[![Automated testing with PHP and Selenium](https://testingbot.com/assets/videos/php-automated-29a925d6233fb94334c6c833b7e41d3e1ba05e04c5a01dc163a0fddac15d6889.png)](https://testingbot.com/resources/videos/php-automated-testing-selenium)

#### Automated testing with PHP and Selenium

Learn how to use PHP with Selenium to do automated browse...

[Watch video →](https://testingbot.com/resources/videos/php-automated-testing-selenium)

## Ready to start testing?
[Start a free trial](https://testingbot.com/users/sign_up)
