Skip to content

bug: implement missing bringToFront function#89

Merged
smnandre merged 1 commit into
playwright-php:mainfrom
gyaaniguy:main
Jun 2, 2026
Merged

bug: implement missing bringToFront function#89
smnandre merged 1 commit into
playwright-php:mainfrom
gyaaniguy:main

Conversation

@gyaaniguy
Copy link
Copy Markdown
Contributor

Currentlty the following causes a crash

$context = Playwright::chromium(["headless" => false]);
$page = $context->newPage();
$page->bringToFront();

This is because bringToFront has not been implemented .

$page->bringToFront(); helps to remove focus from address bar towards the page

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@smnandre
Copy link
Copy Markdown
Member

smnandre commented Jun 2, 2026

Good catch, thx @gyaaniguy !

@smnandre smnandre merged commit a1e91d2 into playwright-php:main Jun 2, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants