Skip to content

Script index.js does not return whole texts on CZC.cz #2

@SuperMartas

Description

@SuperMartas

Consider this command:

node index.js -W1920 -H1080 -P1 -s https://www.czc.cz/pocitace/produkty

I've been experiencing issues with not returning of whole texts for some products names and gifts. For example, I expect that product "Apple iMac 24" 4,5K Retina M1/8GB/256GB/7-core GPU, modrá" returns two boxes with texts "Apple iMac 24" 4,5K Retina" and "M1/8GB/256GB/7-core GPU, modrá". But what is actually returned is one box with only partial text "Mac 24" 4,5K Retina M1/8GB/256GB/7-core GPU, modrá".

This happens with more texts including text "Servisní pohotovost – vylepšený servis PC a NTB ZDARMA" and some more product names. Surprisingly, this does not happen on https://layout.fit.vutbr.cz/browser/#/ where it works as expected.

Testing environment:

  • fitlayout-puppeteer commit 8c2f52e as well as 30cbb3a
  • Windows 11 22000.493
  • Node v15.14.0

If I have more info, I'll update this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions