chrome_data = select({
   "//common:use_local_chromedriver": ["//common:chromedriver"],
   "//conditions:default": []
})

chrome_jvm_flags = select({
  "//common:use_local_chromedriver": [
      "-Dwebdriver.chrome.driver=$(location //common:chromedriver)",
  ],
  "//conditions:default": [
      "-Dselenium.skiptest=true",
  ],
})

firefox_data = select({
   "//common:use_local_geckodriver": ["//common:geckodriver"],
   "//conditions:default": []
})

firefox_jvm_flags = select({
  "//common:use_local_geckodriver": [
      "-Dwebdriver.gecko.driver=$(location //common:geckodriver)",
  ],
  "//conditions:default": [
      "-Dselenium.skiptest=true",
  ],
})

edge_data = select({
   "//common:use_local_msedgedriver": ["//common:msedgedriver"],
   "//conditions:default": []
})

edge_jvm_flags = select({
  "//common:use_local_msedgedriver": [
      "-Dwebdriver.edge.driver=$(location //common:msedgedriver)",
  ],
  "//conditions:default": [
      "-Dselenium.skiptest=true",
  ],
})

chrome_data = select({
   "//common:use_local_chromedriver": ["//common:chromedriver"],
   "//conditions:default": []
})

chrome_jvm_flags = select({
  "//common:use_local_chromedriver": [
      "-Dwebdriver.chrome.driver=$(location //common:chromedriver)",
  ],
  "//conditions:default": [
      "-Dselenium.skiptest=true",
  ],
})

firefox_data = select({
   "//common:use_local_geckodriver": ["//common:geckodriver"],
   "//conditions:default": []
})

firefox_jvm_flags = select({
  "//common:use_local_geckodriver": [
      "-Dwebdriver.gecko.driver=$(location //common:geckodriver)",
  ],
  "//conditions:default": [
      "-Dselenium.skiptest=true",
  ],
})

edge_data = select({
   "//common:use_local_msedgedriver": ["//common:msedgedriver"],
   "//conditions:default": []
})

edge_jvm_flags = select({
  "//common:use_local_msedgedriver": [
      "-Dwebdriver.edge.driver=$(location //common:msedgedriver)",
  ],
  "//conditions:default": [
      "-Dselenium.skiptest=true",
  ],
})
