Comments (3)
TypeError: Cannot read properties of undefined (reading 'match')
at chrome (C:\Users\info\Projects\xxx\wcs\b-input\node_modules\wct-local\lib\browsers.js:115:36)
at Object.<anonymous> (C:\Users\info\Projects\xxx\wcs\b-input\node_modules\wct-local\lib\browsers.js:88:38)
at Generator.next (<anonymous>)
at fulfilled (C:\Users\info\Projects\xxx\wcs\b-input\node_modules\wct-local\lib\browsers.js:4:58)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
/**
* @param browser A launchpad browser definition.
* @return A selenium capabilities object.
*/
function chrome(browser, browserOptions) {
return {
'browserName': 'chrome',
'version': browser.version.match(/\d+/)[0],
'chromeOptions': {
'binary': browser.binPath,
'args': browserOptions || ['start-maximized']
}
};
}
Browser object:
browser {
name: 'chrome',
path: 'C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe',
binPath: 'C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe'
}
Version property is missing.
from tools.
@super-kamil so what exactly was the fix?
from tools.
Do we have any fix for this yet?
I could see that while installing the web-component-tester module, it tries to install launchpad from forllowing commitin the package.json
"dependencies": {
"@types/express": "^4.0.30",
"@types/freeport": "^1.0.19",
"@types/launchpad": "^0.6.0",
"@types/which": "^1.3.1",
"chalk": "^2.3.0",
"cleankill": "^2.0.0",
"freeport": "^1.0.4",
"launchpad": "git+https://github.com/web-padawan/launchpad.git#fdd994d089572e2c2152d70cc74abf497d08d5b7",
"selenium-standalone": "^6.7.0",
"which": "^1.0.8"
}
was there any specific reason for this?
Am I missing something here?
from tools.
Related Issues (20)
- How to add polymer-cli as a dependency without getting puppeteer? HOT 2
- [build]ES6 Bundle errors in browser with extending PolymerElement or mixin HOT 1
- polymer serve error? HOT 1
- web-component-tester-6.9.2 fails to download selenium-server-standalone-3.141.59.jar
- CDN support as build target HOT 1
- web-component-tester fails to install: sinonjs repository not found HOT 7
- Polymer 3 - 'polymer init' is busted on Win10 HOT 4
- PLEASE ARCHIVE THIS REPOSITORY, OR MARK IT AS MAINTENANCE HOT 2
- Polymer serve's --component-url option has no effect HOT 1
- [gen-ts-declarations] Transitive mixins from external packages are not discovered HOT 1
- The last version of winston library(3.3.1) is breaking web-component-tester
- [gen-ts-declarations] Preserve JSDoc tags for properties HOT 2
- Handle invalid routing for polymer serve HOT 1
- [modulizer] wct-browser-legacy does not pass yarn install --flat HOT 1
- polymer build is not working for windows 10 and node >= v15 HOT 1
- web-component-tester compatibility with jsx based components HOT 1
- 76 vulnerabilities (1 low, 25 moderate, 47 high, 3 critical)
- The "[email protected]" tag is missing.
- FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tools.