Skip to content

Commit

Permalink
[MERGE]: Develop into main
Browse files Browse the repository at this point in the history
  • Loading branch information
asciito authored Oct 21, 2023
2 parents 38fa622 + c3bdb0c commit 9b41ba9
Show file tree
Hide file tree
Showing 5 changed files with 73 additions and 9 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@
composer.lock
/storage/logs/*
!/storage/logs/.gitkeep
/builds/*
!/builds/.gitkeep
64 changes: 63 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,71 @@ with the correct Browser Version, is painful (I **HATE** manual tasks), I decide

**I HATE MANUAL TASKS**

---

## Documentation

_Working_...
* [Commands](#commands)
* [Install Google Chrome Browser](#install-google-chrome-browser)
* [Install Google Chrome Driver](#install-google-chrome-driver)

### Commands

The two installation commands shares similar signatures, something like this:

```bash
./google-for-testing install:<browser|driver> [options]
```

There are three options available to change the way the command works.

- **`--ver=[VER]`**:
This option by default is set to `115.0.5763.0` in both commands.
> **Note**:
For the `install:driver` command, the default version it's really important, this is the started version from where you can get
the `chromedriver` binary, before that version, we don't have access to it (for now).

- **`--latest`**:
This option will download the latest version.

- **`--path=[PATH]`**:
This will let you choose where to download it.

> **Note**:
> The default location for every download is `$HOME/.google-for-testing`
<br>

#### Install Google Chrome Browser

The syntax for to install Google Chrome Browser is the next one:

```bash
./google-for-testing install:browser [options]
```

Running this command without any option, will download the default version `115.0.5763.0`, but you can choose
any other version to download (if is available).

You can check the available versions on this [API endpoint](https://googlechromelabs.github.io/chrome-for-testing/known-good-versions.json) 👈

<br>

#### Install Google Chrome Driver

The syntax for to install Google Chrome Driver is the next one:

```bash
./google-for-testing install:driver [options]
```

Running this command without any option, will download the default version `115.0.5763.0`, but you can choose
any other version to download (if is available).

> **Note**: You can check the available versions on this [API endpoint](https://googlechromelabs.github.io/chrome-for-testing/known-good-versions.json) 👈, but keep in mind
> that for `chromedriver` the versions starts at `115.0.5763.0`, so any version below that we will not have access to the binary download link (for now).
---

## License

Expand Down
1 change: 1 addition & 0 deletions box.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"composer.json"
],
"exclude-composer-files": false,
"exclude-dev-files": false,
"compression": "GZ",
"compactors": [
"KevinGH\\Box\\Compactor\\Php",
Expand Down
Empty file added builds/.gitkeep
Empty file.
15 changes: 7 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,12 @@
}
],
"require": {
"php": "^8.1",
"guzzlehttp/guzzle": "^7.5",
"illuminate/http": "^10.0",
"illuminate/log": "^10.0",
"laravel-zero/framework": "^10.0.2",
"nunomaduro/termwind": "^1.15.1"
"php": "^8.1"
},
"require-dev": {
"guzzlehttp/guzzle": "^7.5",
"laravel-zero/framework": "^10.0.2",
"nunomaduro/termwind": "^1.15.1",
"laravel/pint": "^1.8",
"mockery/mockery": "^1.5.1",
"pestphp/pest": "^2.5",
Expand Down Expand Up @@ -55,6 +53,7 @@
"minimum-stability": "stable",
"prefer-stable": true,
"bin": [
"google-for-testing"
]
"builds/google-for-testing"
],
"version": "v0.3.0"
}

0 comments on commit 9b41ba9

Please sign in to comment.