aerokube / moon

Browser automation solution for Kubernetes and Openshift supporting Selenium, Playwright, Puppeteer and Cypress
http://aerokube.com/moon/latest
Apache License 2.0
224 stars 19 forks source link

Empty user agent for some devices #400

Closed vania-pooh closed 1 year ago

vania-pooh commented 1 year ago

Need to provide correct value.

Selenium::WebDriver::Error::InvalidArgumentError:
invalid argument: Empty userAgent invalid with userAgentMetadata provided
(Session info: chrome=117.0.5938.88)
#0 0x56421c0816c3 <unknown>

https://github.com/aerokube/charts/blob/master/moon2/templates/devices.yaml

Laptop with touch:
      width: 950
      height: 1280
      pixelRatio: 1
      userAgent: ''
    Laptop with HiDPI screen:
      width: 900
      height: 1440
      pixelRatio: 2
      userAgent: ''
    Laptop with MDPI screen:
      width: 800
      height: 1280
      pixelRatio: 1
      userAgent: ''