sbabcoc / Selenium-Foundation

Selenium Foundation is an automation framework designed to extend and enhance the capabilities provided by Selenium (WebDriver).
Apache License 2.0
59 stars 16 forks source link

Factor out server launch to enable "lazy" initialization of LocalSeleniumGrid hub and node objects #227

Closed sbabcoc closed 2 years ago

sbabcoc commented 2 years ago

To enable "target platform" support for driver types, I could definitely benefit from the availability of the "personality" values provided by SeleniumGrid. However, launching the local grid servers for this purpose makes no sense. To expand the utility of the "personalities" collection. the servers attached to local grid hub and node objects shouldn't be launched until we actually need a driver session.

It may be beneficial to revise the DriverPlugin interface to revise the output of getPersonalities() to return a map that associates personalities with plug-ins rather than capabilties.

sbabcoc commented 2 years ago

This issue is resolved by the aforementioned PR. It appears that compound resolution statements aren't supported.