forked from SeleniumHQ/selenium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
browsers.bzl
40 lines (37 loc) · 1.17 KB
/
browsers.bzl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
COMMON_TAGS = [
"browser-test",
"no-sandbox",
"requires-network",
]
chrome_data = select({
"@selenium//common:use_pinned_linux_chrome": [
"@linux_chromedriver//:chromedriver",
"@linux_chrome//:chrome-linux",
],
"@selenium//common:use_pinned_macos_chrome": [
"@mac_chromedriver//:chromedriver",
"@mac_chrome//:Chromium.app",
],
"@selenium//common:use_local_chromedriver": ["@selenium//common:chromedriver"],
"//conditions:default": [],
})
edge_data = select({
"@selenium//common:use_pinned_macos_edge": [
"@mac_edgedriver//:msedgedriver",
"@mac_edge//:Edge.app",
],
"@selenium//common:use_local_msedgedriver": ["@selenium//common:msedgedriver"],
"//conditions:default": [],
})
firefox_data = select({
"@selenium//common:use_pinned_linux_firefox": [
"@linux_geckodriver//:geckodriver",
"@linux_firefox//:firefox",
],
"@selenium//common:use_pinned_macos_firefox": [
"@mac_geckodriver//:geckodriver",
"@mac_firefox//:Firefox.app",
],
"@selenium//common:use_local_geckodriver": ["@selenium//common:geckodriver"],
"//conditions:default": [],
})