Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
seleniumhq
GitHub Repository: seleniumhq/selenium
Path: blob/trunk/javascript/grid-ui/src/config.ts
2884 views
1
// Contains the global config values which can be adjusted
2
export const GridConfig = {
3
status: {
4
// How often we poll the GraphQL endpoint
5
xhrPollingIntervalMillis: 5000
6
},
7
8
// Server config (Start the Selenium Server with the "--allow-cors true" flag)
9
serverUri:
10
process.env.NODE_ENV === 'development'
11
? 'http://localhost:4444/graphql'
12
: document.location.protocol + '//' + document.location.host + document.location.pathname.replace("/ui/", "") + '/graphql'
13
}
14
15