Skip to content

Commit d69c869

Browse files
committed
changes
2 parents ca176c0 + 909dde1 commit d69c869

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
/vendor
1+
/vendor
2+
/composer.phar

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# php-selenium-browserstack
22

3+
# php-selenium-browserstack
4+
35
## Prerequisites
4-
1. php and composer should be installed in your system
6+
1. `php` and `composer` should be installed in your system
57
2. Go to the directory where you have your test scripts and run the command below:
68
```
79
composer require php-webdriver/webdriver
@@ -22,7 +24,7 @@
2224
# Test the installation by running a simple test file, check out example.php in the main repository.
2325
```
2426
2. Configure test capabilities
25-
(To run single test, navigate to ./scripts/single/php)
27+
(To run single test, navigate to ./scripts/single.php)
2628

2729
```php
2830
$caps = array(
@@ -34,7 +36,7 @@ $caps = array(
3436
"build" => "BStack Build Number 1" // CI/CD job or build name
3537
);
3638
// IMP: Use your browserstack username and accesskey
37-
$web_driver = RemoteWebDriver::create("https://USERNAME:[email protected]/wd/hub",$caps);
39+
$web_driver = RemoteWebDriver::create("https://USERNAME:[email protected]/wd/hub", $caps);
3840
```
3941

4042
3. Run tests

scripts/local.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@
4444
$web_driver->quit();
4545
# Stop the Local instance
4646
$bs_local->stop();
47-
?>
47+
?>

scripts/single.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@
3838
echo 'Message: ' .$e->getMessage();
3939
}
4040
$web_driver->quit();
41-
?>
41+
?>

0 commit comments

Comments
 (0)