• Resolved asafm7

    (@asafm7)


    Hello.

    We are using the click selectors to accept cookies (which is the example use case you give).

    For us, after accepting the cookies, some elements, like embedded YouTube videos, are being loaded. This can take some time.

    In our case, the generated screenshot is missing these elements and thus doesn’t represent the visuality of the page with accepted cookies.

    Is there any way to add a delay after clicking the accept cookies button?

    I’ve looked in the code but couldn’t find any opportunities.

    Thanks for a great plugin.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support domtra

    (@domtra)

    Hi @asafm7,

    thanks for your feedback.

    There is currently no manual delay you can add while taking a screenshot. We have a lot of checks in our code that wait for the page to be finished load and the network being in idle.

    There are some edge cases when this does not work.

    If you can give me the URL of the website where you experience these issues, I might be able to have a look and find a solution to solve this.

    Best, Dominik.

    Thread Starter asafm7

    (@asafm7)

    Thanks for your reply, Dominik.

    An example URL:

    Baking as a Hobby – Hobbies 4 Life

    We are using Complianz for managing cookie consent. The plugin lazy loads many iframes after the page loads (even if cookie consent has already been granted). This is probably the reason your checks missed some content.

    It can be considered an edge case. But on the other hand, there are over 800,000 active Complianz installations. Also, it is possible other cookie consent plugins are using similar methods.

    Let me know if I can help further.

    Thanks again.

    Plugin Support domtra

    (@domtra)

    Hi @asafm7, and thanks for the link.

    The problem on the site you provided seems to come from Chrome itself. This is the browser we use to take screenshots. If you navigate in Chrome to your website and take a full page screenshot via the devtools, you will see, that although the iframes have been loaded, they will not show up on the screenshot. Chrome is somehow hiding them, when they are not in the viewport and fading them in, once they are.

    Firefox, for example, behaves differently.

    I have found a solution to this. But the technique might introduce issues in other situations. I will need to do some more tests and we nee to further evaluate if our current approach leads in general to better results, or the new one we came up with.

    I will keep you posted about the progress. And sorry for your inconvenience.

    Thread Starter asafm7

    (@asafm7)

    Thank you so much for your detailed update. I’m looking forward to the developments.

    Thanks for creating this essential tool.

    Thread Starter asafm7

    (@asafm7)

    Hello.

    Just another piece of information. It seems the screenshot isn’t created at all (it has been like this for days or weeks).

    And, maybe it is a different issue, but the second page on the following screenshot doesn’t show the scheduled time (unlike the third page):

    https://drive.google.com/file/d/1GQWByg2eZZnX-qUXPaQiUinpR1q4mW01/view?usp=drivesdk

    Plugin Support domtra

    (@domtra)

    @asafm7, it seems that previously there were some issue with timeout during the screenshot phase which were not resolved properly. This may result in some test being stuck.

    I tried to get them unstuck for you and it should have worked at least for one of your tests. Can you confirm that?

    If there is still an issue, can you try to disable the test and the undo via the link in the admin notice? After that, the test should be set up properly again.

    Sorry for the inconvenience.

    Plugin Support steffenbew

    (@steffenbew)

    @asafm7 Thanks also for reporting the missing scheduled date for one of the entries. The date should update after the next test is run, or when you disable and enable the test.

    Thread Starter asafm7

    (@asafm7)

    Thanks! Things seems to be alright now.

    Plugin Support domtra

    (@domtra)

    Hi @asafm7,

    just to let you know, we have implemented a general 2 second delay for all screenshots to better deal with some of the loading issues. Currently there are no plans to add an option for additional delays.

    Let us know if you have additional feedback or questions.

    Thread Starter asafm7

    (@asafm7)

    Great!

    Thanks, @domtra.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Add delay after using the click selectors’ is closed to new replies.