Skip to content

Add 'platformName' to selenium-grid scaler metadata structure #4038

Closed
@gifflet

Description

Proposal

Currently, the selenium grid scaler only supports browserName and browserVersion capabilities in trigger metadata. This results in the impossibility of configuring a trigger for tests targeting specific platforms like Windows 10, Windows 11, etc.

Use-Case

If the platformName capability were supported it would be possible to configure a trigger like this:

triggers:
  - type: selenium-grid
    metadata:
      url: 'http://selenium-hub:4444/graphql'
      browserName: 'chrome'
      browserVersion: '108.0'
      unsafeSsl: 'true',
      platformName: 'Windows 10'

Anything else?

The possibility of defining the platformName would make sense if it were possible to run a virtual machine, equivalent to the platform defined in the capability platformName, in the pod. In Linux this is possible through the native feature called KVM (Kernel-based Virtual Machine). That is, the operating strategy would be to make this resource available to the linux container (through /dev/kvm) and within the container use qemu, for example, to run the virtual machine.

Metadata

Assignees

Labels

feature-requestAll issues for new features that have not been committed toneeds-discussionstale-bot-ignoreAll issues that should not be automatically closed by our stale bot

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions