thebrowsercompany / swift-webdriver

A Swift library for communicating with WebDriver (Appium/WinAppDriver) endpoints
BSD 3-Clause "New" or "Revised" License
105 stars 3 forks source link

Remove dependency of requests on Session/Element for layering #67

Closed tristanlabelle closed 1 year ago

tristanlabelle commented 1 year ago

There's a conceptual layering in the codebase where the Session and Element structs can be built on top of Request structs, but this is not apparent because Request structs refer to Session/Element types. This refactoring is a step towards making this layering explicit. A follow-up will be to pull the requests in separate files.