pixiebrix-extension
pixiebrix-extension copied to clipboard
Check for common tag type when generating selector for expanded selection
Context
- Currently the commonCssSelector method uses the first tag type in generate selectors
- commonCssSelector should never return a selector that doesn't match all elements passed to it
- https://www.notion.so/pixiebrix/Todd-Jay-Selector-Inference-2022-10-19-72608603df0b4469857244d75d18b2b0