[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). > **⚠️ 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 | > | Mode | Node Access | Example |
> | --------- | -------------------------------------- | ---------------------------------------- | > | --------- | ------------------------------------- | ---------------------------------------- |
> | LiteGraph | `comfyPage.getNodeRefsByTitle()[0]` | `node.click()`, `node.getWidget('seed')` | > | LiteGraph | `comfyPage.getNodeRefsByTitle()[0]` | `node.click()`, `node.getWidget('seed')` |
> | Vue Nodes | `comfyPage.vueNodes.getNodeByTitle()` | Playwright locators, CSS classes | > | Vue Nodes | `comfyPage.vueNodes.getNodeByTitle()` | Playwright locators, CSS classes |
## Getting Node References ## Getting Node References

View File

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