Title: TypeError: Cannot create property 'lastIndex' on string when using playwrightConfigOptions.grep in browserstack.yml · Issue #54 · browserstack/node-js-playwright-browserstack · GitHub
Open Graph Title: TypeError: Cannot create property 'lastIndex' on string when using playwrightConfigOptions.grep in browserstack.yml · Issue #54 · browserstack/node-js-playwright-browserstack
X Title: TypeError: Cannot create property 'lastIndex' on string when using playwrightConfigOptions.grep in browserstack.yml · Issue #54 · browserstack/node-js-playwright-browserstack
Description: Given configuration: platforms: - os: OS X ... playwrightConfigOptions: grep: '@myTag' The following error happens: Error: 2025-11-06 14:21:58 - info: [GrpcClient] PlaywrightConfig request successful TypeError: Cannot create property 'la...
Open Graph Description: Given configuration: platforms: - os: OS X ... playwrightConfigOptions: grep: '@myTag' The following error happens: Error: 2025-11-06 14:21:58 - info: [GrpcClient] PlaywrightConfig request successf...
X Description: Given configuration: platforms: - os: OS X ... playwrightConfigOptions: grep: '@myTag' The following error happens: Error: 2025-11-06 14:21:58 - info: [GrpcClient] PlaywrightConfig request ...
Opengraph URL: https://github.com/browserstack/node-js-playwright-browserstack/issues/54
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"TypeError: Cannot create property 'lastIndex' on string when using playwrightConfigOptions.grep in browserstack.yml","articleBody":"**Given configuration:**\n```\nplatforms:\n - os: OS X\n ...\n playwrightConfigOptions:\n grep: '@myTag'\n```\n\n**The following error happens:**\n```\nError: 2025-11-06 14:21:58 - info: [GrpcClient] PlaywrightConfig request successful\nTypeError: Cannot create property 'lastIndex' on string '@myTag'\n```\n\nThis prevents filtering Playwright tests by tags or grep in general. I cannot use the workaround of passing the grep directly to the command line because the following pattern would not be possible:\n\n```\nplatforms:\n - os: OS X\n ...\n playwrightConfigOptions:\n grep: '@slow'\n - os: OS X\n ...\n playwrightConfigOptions:\n grep: '@fast'\n```\n","author":{"url":"https://github.com/amir-ziaei","@type":"Person","name":"amir-ziaei"},"datePublished":"2025-11-06T12:52:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/54/node-js-playwright-browserstack/issues/54"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b44df827-cf22-0573-2239-13ff93a9229f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A13E:25211B:252995B:327816D:6A53A5E5 |
| html-safe-nonce | 3b5935d66493ca8591a18577c68cd77726231297f8786e33dc21e69ef95994f4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTNFOjI1MjExQjoyNTI5OTVCOjMyNzgxNkQ6NkE1M0E1RTUiLCJ2aXNpdG9yX2lkIjoiMzQ5NDc5NTQwODU2NzQxMjE5NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fd7cab2f5befdc04277a96cddff8578e86368e37cd331b226b5727c1f1858c2e |
| hovercard-subject-tag | issue:3595703600 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/browserstack/node-js-playwright-browserstack/54/issue_layout |
| twitter:image | https://opengraph.githubassets.com/de2f1ec1fd9056307f68054330b4eb989103a15f4ce3498200b9e23024cd5a08/browserstack/node-js-playwright-browserstack/issues/54 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/de2f1ec1fd9056307f68054330b4eb989103a15f4ce3498200b9e23024cd5a08/browserstack/node-js-playwright-browserstack/issues/54 |
| og:image:alt | Given configuration: platforms: - os: OS X ... playwrightConfigOptions: grep: '@myTag' The following error happens: Error: 2025-11-06 14:21:58 - info: [GrpcClient] PlaywrightConfig request successf... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | amir-ziaei |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/browserstack/node-js-playwright-browserstack git https://github.com/browserstack/node-js-playwright-browserstack.git |
| octolytics-dimension-user_id | 1119453 |
| octolytics-dimension-user_login | browserstack |
| octolytics-dimension-repository_id | 575727740 |
| octolytics-dimension-repository_nwo | browserstack/node-js-playwright-browserstack |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 575727740 |
| octolytics-dimension-repository_network_root_nwo | browserstack/node-js-playwright-browserstack |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width