[Feature]: "Pick locator" should respect Playwright launch configuration (maximize window / viewport settings)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- playwright, typescript, vscode
調査の方向性
まず、VS Code の "Pick locator" の実装と、それが Playwright のブラウザーを起動する方法を追跡します。その起動経路を、プロジェクトで設定されている use 設定、特に launchOptions と viewport と比較します。提供された設定例を使って動作を検証し、locator ブラウザーが --start-maximized や viewport: null などの設定を反映すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
🚀 Feature Request
When using the "Pick locator" feature in Playwright within VS Code, the browser launched for locator selection should respect the project’s configured use settings, including launchOptions and viewport.
In particular, it should support launching the browser in a maximized state when configured via launchOptions.args (e.g. --start-maximized) or equivalent settings.
Example
export default defineConfig({
use: {
headless: false,
launchOptions: {
args: ['--start-maximized'],
},
viewport: null,
},
});
When clicking "Pick locator", the expectation is that the browser opens maximized based on the above configuration.
Motivation
The "Pick locator" feature is commonly used during test authoring to identify and select elements on complex or responsive UIs. A maximized browser significantly improves visibility and usability in these scenarios.
Currently, there is a mismatch between:
- the browser state used for locator selection, and
- the configured test execution environment
This inconsistency can slow down development and make locator selection harder, especially for layouts that rely on full viewport width or responsive behaviour.
Aligning "Pick locator" with Playwright configuration would improve consistency and reduce friction when writing and debugging tests.
- 主要言語
- TypeScript
- スター
- 97.4k
- フォーク
- 6.6k
- 平均マージ
- 18時間 15分
- マージ済み PR(30日)
- 318
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/playwright のほかの issue
-
[Feature]: Set `this.name` in `TargetClosedError` constructor再び着手できるかも @LeonxLJX が 43 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンP3-collecting-feedback
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
microsoft/playwright#42522 · コメント 7 件 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: ariaSnapshot() emits \uXXXX / \b escapes in role names that toMatchAriaSnapshot() parses back incorrectly対応中かも @alok-108 が今日担当しました。 オープン
難易度 3/5 半日 初心者へのやさしさ 22/100
microsoft/playwright#43489 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: Chromium – locale is not applied to Accept-Language / navigator.languages inside dedicated Workers対応中かも @yury-s が今日担当しました。 オープン
難易度 3/5 半日 初心者へのやさしさ 25/100
microsoft/playwright#43484 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: fill() on a paragraph inside a contenteditable body in an iframe resolves but inserts nothing対応中かも @yury-s が今日担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 18/100
microsoft/playwright#43483 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: Python sync API logs CancelledError when exiting sync_playwright() with an unanswered route対応中かも @yury-s が今日担当しました。 オープン
難易度 2/5 1時間未満 初心者へのやさしさ 18/100
microsoft/playwright#43463 ·
メンテナーはふだん 1 日以内に返信
microsoft/playwright の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Chocobozzz/PeerTube#7832 ·
メンテナーはふだん 3 日以内に返信
-
Pay to use?オープン
難易度 1/5 1時間未満 初心者へのやさしさ 66/100
darkreader/darkreader#16108 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
Add: Dak Nong TV SDオープンcheck:passed streams:add
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
bug engine
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
frostney/GocciaScript#1746 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
agilepathway/label-checker#739 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信