Skip to content

Commit 94b63b4

Browse files
authored
Merge pull request #240 from kajuberdut/patch-1
Update chrome.py with default chrome path for AUR installs
2 parents 5b15c3a + d356b33 commit 94b63b4

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

pydoll/browser/chromium/chrome.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ def _get_default_binary_location():
4747
],
4848
'Linux': [
4949
'/usr/bin/google-chrome',
50+
'/usr/bin/google-chrome-stable',
5051
],
5152
'Darwin': [
5253
'/Applications/Google Chrome.app/Contents/MacOS/Google Chrome',

tests/test_browser/test_browser_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ def test__is_valid_tab_not_a_tab(mock_browser):
398398
],
399399
r'C:\Program Files\Google\Chrome\Application\chrome.exe',
400400
),
401-
('Linux', ['/usr/bin/google-chrome'], '/usr/bin/google-chrome'),
401+
('Linux', ['/usr/bin/google-chrome', '/usr/bin/google-chrome-stable'], '/usr/bin/google-chrome'),
402402
(
403403
'Darwin',
404404
['/Applications/Google Chrome.app/Contents/MacOS/Google Chrome'],

tests/test_browser/test_browser_chrome.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ class TestChromeDefaultBinaryLocation:
131131
),
132132
(
133133
'Linux',
134-
['/usr/bin/google-chrome']
134+
['/usr/bin/google-chrome', '/usr/bin/google-chrome-stable']
135135
),
136136
(
137137
'Darwin',

0 commit comments

Comments
 (0)