Search code examples
seleniumselenium-webdriverselenium-grid2

Is there a way to pass extra information on a Selenium Grid request?


I'm trying to see if there is a way to pass extra information to the hub from a given request.

The capabilities has the ability to ignore parameters which aren't used, but I wondering if there was a way they could be echoed to the grid UI console?

Key examples could be logon user, IP / Machine name it was sent from etc.

Is this possible?

Cheers, Jamie


Solution

  • It seems after restarting the hub, I can now see abc-whoami and abc-executingfrom parameters i've added in. Just add this to the list of desiredcapabilities and ensure your availability matcher (if custom) ignores these values.