area: browsergood first issuerefactor
Description
What
- Move Sobek option parsing to the mapping layer.
Why
- Separation of concerns.
- Option parsing is only required by the mapping layer.
- To simplify and make the code and tests easy to reason about.
Current options to move
-
Frameoptions -
Locatoroptions -
ElementHandleBaseOptions - #5687
-
PageReloadOptions -
PageScreenshotOptions -
Size.Parse - #5302
- #5560
Example
- In this code, the parsing happens in the mapping layer.
Related
- This issue is a continuation of the epic issue #4219.