paypal/SeLion

Not able to add more than one customCapabilities provider.

Closed this issue · 3 comments

SeLion Version

1.1.0

Component

SeLion-Client

Expected Behavior

Selion provides option to add one or more custom capability provider to set capabilities for the driver instance to be created. If more than one custom capability provider is present they should be separated by commas

Actual Behavior

When more than once custome Capability provider is passed with classnames separated by commas, only the first class is used. The rest are ignored

Steps to Reproduce

Create two custome capabilty providers, (classes that extend DefaultCapabilitiesBuilder) Pass the classnames separated by commas as the value of the SELENIUM_CUSTOM_CAPABILITIES_PROVIDER property.

mach6 commented

@Pranavm thanks for finding this. Fyi, I have a pending fix in progress here - mach6@e59fbc2

mach6 commented

Note: The root cause of this issue also impacts configuring >1 SeLion event listeners and >1 element event listeners

mach6 commented

fixed with bccb9c8