Playwright error: no filters were found - wrong user-agent #1795
Replies: 11 comments 13 replies
-
more than likely playwright couldnt get the page for some reason ,check the logs, maybe some JS didnt run or other |
Beta Was this translation helpful? Give feedback.
-
also set "wait seconds" to 10 not 20, see if it helps |
Beta Was this translation helpful? Give feedback.
-
@dgtlmoon I have now tried setting the wait seconds to 10 instead of 20. I still get the error.
I've also now tried going to the monitor to see the preview, and then clicking "screenshot". I can the the page is not loading correctly: Do you have any idea as to why? |
Beta Was this translation helpful? Give feedback.
-
I've now tried to install changedetection and playwright using the pip install method. I am getting the same error here.
Setting the timeout to 300000ms (5min) produces the following error:
I have noticed this is not an issue on every website. Only on royalcaribbean.com. It is a heavy JS page. Maybe playwright can't handle it? I don't know why, I'm hoping someone can tell me :) |
Beta Was this translation helpful? Give feedback.
-
@dgtlmoon is your paid service able to load this URL using playwright? https://www.royalcaribbean.com/booking/landing?groupId=JW15AMS-3530067439&sailDate=2024-05-15&shipCode=JW&packageCode=JW15U019&destinationCode=EUROP&selectedCurrencyCode=DKK&country=DNK&loyaltyNumber=385903959&CAS=true In browser steps the page loads fine, but when actually running it, the only text returned is "oops we are having problems" from the website |
Beta Was this translation helpful? Give feedback.
-
Ok, I figured it out. |
Beta Was this translation helpful? Give feedback.
-
I just realised the content fetcher is setting a pretty ... not perfect user agent
|
Beta Was this translation helpful? Give feedback.
-
I created #1809 thanks so much for your patience! I'll look at this one soon, I bet this could affect many people |
Beta Was this translation helpful? Give feedback.
-
Just merged that fixed, also found that it should handle a mix of case, ie |
Beta Was this translation helpful? Give feedback.
-
@dgtlmoon I've tried several different headers for user-agent in headers.txt, but it seems to no longer have an effect? |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
When switching from selenium to playwright, all checks get the error:
Warning, no filters were found, no change detection ran - Did the page change layout? update your Visual Filter if necessary.
Version
0.45.1
To Reproduce
Steps to reproduce the behavior:
1:
Use the following docker-compose:
Set up the following monitor:
https://changedetection.io/share/d0qlVgD8rgsa
In global "Fetch Method" have wait seconds set to 20.
Expected behavior
To have the monitor run, and successfully get the CSS Selector's value.
Desktop (please complete the following information):
Beta Was this translation helpful? Give feedback.
All reactions