Skip to content

Commit 4ed72f1

Browse files
committed
Dry run at adding the screenshot logic to Mink GH action for #378
1 parent 47750e3 commit 4ed72f1

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/build.yml

+18
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,21 @@ jobs:
1212
steps:
1313
- uses: browser-actions/setup-chrome@v1
1414
- run: chrome --version
15+
- name: Report Python version
16+
run: file `which python3`
17+
- name: Install screenshot utility
18+
run: python3 -m pip install screenshot
19+
- name: Launch Chrome
20+
run: chrome
21+
- name: Take screenshot of Chrome
22+
run: screenshot chrome --filename chrome.png --shadow
23+
- name: Upload screenshot
24+
uses: actions/upload-artifact@v4
25+
with:
26+
name: chrome.png
27+
path: chrome*.pjng
28+
- name: Download artifact
29+
uses: actions/download-artifact@v4
30+
with:
31+
name: chrome
32+

0 commit comments

Comments
 (0)