Skip to content

Commit

Permalink
Switch to Brave Base Image (#400)
Browse files Browse the repository at this point in the history
* switch to brave:
- switch base browser to brave base image 1.58.135
- tests: add extra delay for blocking tests
- bump to 0.12.0-beta.0
  • Loading branch information
ikreymer authored Oct 2, 2023
1 parent 4c7ebf1 commit f453dbf
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG BROWSER_VERSION=112
ARG BROWSER_IMAGE_BASE=webrecorder/browsertrix-browser-base:chrome-${BROWSER_VERSION}
ARG BROWSER_VERSION=1.58.135
ARG BROWSER_IMAGE_BASE=webrecorder/browsertrix-browser-base:brave-${BROWSER_VERSION}

FROM ${BROWSER_IMAGE_BASE}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "browsertrix-crawler",
"version": "0.11.2",
"version": "0.12.0-beta.0",
"main": "browsertrix-crawler",
"type": "module",
"repository": "https://github.com/webrecorder/browsertrix-crawler",
Expand Down
1 change: 1 addition & 0 deletions tests/adblockrules.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ function doesCDXContain(coll, value) {
test("test crawl without ad block for specific URL", () => {
const config = {
"url": "https://www.mozilla.org/en-US/firefox/",
"pageExtraDelay": 10
};

runCrawl("adblock-no-block", config);
Expand Down
1 change: 1 addition & 0 deletions tests/blockrules.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ function doesCDXContain(coll, value) {
test("test crawl without block for specific URL", () => {
const config = {
"url": "https://www.iana.org/",
"pageExtraDelay": 10
};

runCrawl("block-1-no-block", config);
Expand Down

0 comments on commit f453dbf

Please sign in to comment.