Call to a member function sendText() on null #1640
Replies: 1 comment
-
|
The interesting part here is that So I dont think this is really about your app page content. From the behavior you described, it feels more like the browser/plugin session is being created far enough for A few things I’d check first:
What makes me think this is not a page issue is exactly what you said:
So my guess would be: If I were debugging it, I’d start by aligning/updating the Pest browser-related package versions together and comparing them against the project where browser tests still work. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey, I would really appreciate if anyone could help me here. I have a project where I try to install Pest for Browsertests:
Here is the basic test I am trying to run:
The Problem is, anything I do, I get the following error:
When I just run $page = visit('/'); I get no error. As soon as I run ANYTHING on $page, like ->assertSee(), ->screenshot, ->dd(), anything, I get this error message. It should not have anything to do with my page, because I tried to run the test on www.google.com and get the same error. At the same time I can use Pest and Browser Tests without any problems on other projects.
Installed:
PHP 8.4.17
Laravel v11.48.0
Sail v1.53.0
Pest v4.3.2
Pest Browser Plugin v4.2.1
Pest Laravel Plugin v4.0.0
I am completely stuck, if anyone has any Idea how to fix this, I would really appreciate any help.
Beta Was this translation helpful? Give feedback.
All reactions