[automated] Apply ESLint and Oxfmt fixes

This commit is contained in:
GitHub Action
2026-02-01 06:26:20 +00:00
committed by bymyself
parent 58d6fbab26
commit 4f67bbdac1
2 changed files with 12 additions and 12 deletions

View File

@@ -2,10 +2,10 @@
> **⚠️ LiteGraph Mode:** These patterns apply to the default LiteGraph canvas rendering. For Vue Nodes 2.0 (DOM-based rendering), see [vue-nodes.md](../features/vue-nodes.md).
>
> | Mode | Node Access | Example |
> | --------- | -------------------------------------- | ---------------------------------------- |
> | LiteGraph | `comfyPage.getNodeRefsByTitle()[0]` | `node.click()`, `node.getWidget('seed')` |
> | Vue Nodes | `comfyPage.vueNodes.getNodeByTitle()` | Playwright locators, CSS classes |
> | Mode | Node Access | Example |
> | --------- | ------------------------------------- | ---------------------------------------- |
> | LiteGraph | `comfyPage.getNodeRefsByTitle()[0]` | `node.click()`, `node.getWidget('seed')` |
> | Vue Nodes | `comfyPage.vueNodes.getNodeByTitle()` | Playwright locators, CSS classes |
## Getting Node References

View File

@@ -49,14 +49,14 @@ test('drag example', async ({ comfyPage, comfyMouse }) => {
### Nodes
| Method | Description |
| ---------------------------- | ---------------------------------------- |
| `getNodeRefsByTitle(title)` | Get nodes by display title (returns `[]`)|
| `getNodeRefById(id)` | Get node by numeric ID |
| `getFirstNode()` | Get first node |
| `getLastNode()` | Get last node |
| `getNodes()` | Get all nodes |
| `selectNodes(titles[])` | Ctrl+click to select nodes by title |
| Method | Description |
| --------------------------- | ----------------------------------------- |
| `getNodeRefsByTitle(title)` | Get nodes by display title (returns `[]`) |
| `getNodeRefById(id)` | Get node by numeric ID |
| `getFirstNode()` | Get first node |
| `getLastNode()` | Get last node |
| `getNodes()` | Get all nodes |
| `selectNodes(titles[])` | Ctrl+click to select nodes by title |
**Node titles**: Use display names like `'KSampler'`, `'VAE Decode'`, `'CLIP Text Encode (Prompt)'`.
These match the `display_name` from node definitions, not the internal type name.