Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make a screenshot ? #382

Open
caroheymes opened this issue Oct 3, 2024 Discussed in #381 · 3 comments
Open

Make a screenshot ? #382

caroheymes opened this issue Oct 3, 2024 Discussed in #381 · 3 comments

Comments

@caroheymes
Copy link

Discussed in #381

Originally posted by caroheymes October 1, 2024
Hi Elias,
I appreciate very much the integration with playright ! Really great :

Is there any possibility to make screenshots ?

Thanks a million for your feedback,

Cheers,

Caroline

@eliasdabbas
Copy link
Owner

Thanks a lot @caroheymes

Great to know you found it useful, and please share any examples you have. It would be great for me to understand how it is being used, and for the community and users as well.

I just checked for getting screenshots using playwright.

It seems straightforward, and can be done with a simple function. I'll check and will let you know.

@caroheymes
Copy link
Author

Hello Elias, and thank you for your reply.

Actually, I need to get screenshots of category pages from different websites.The idea is to detect changes on a page from one day to the next! Or sometimes from a version of 3 monthes ago to today.

The main problem is still to make a screenshot without the cookie pop-up, and with all images fully loaded.

For example:

python
Copier le code
[['https://www.thecolvinco.com/es/', 'home'],
['https://www.thecolvinco.com/es/floristeria-domicilio/comprar-ramos-flores-online', 'bouquets'],
...
['https://www.thecolvinco.com/es/floristeria-domicilio/flores-de-temporada', 'seasonal']]

@caroheymes
Copy link
Author

demo
please find enclosed a demo of changes highligted in green between 2 dates

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

No branches or pull requests

2 participants