geckodriver
                                
                                 geckodriver copied to clipboard
                                
                                    geckodriver copied to clipboard
                            
                            
                            
                        locating with empty tag name should error
System
- Version: 0.31
- Platform: macOS Big Sur
- Firefox: 99.0.1 (64-bit
- Selenium: Ruby 4.1.0
Testcase
Selenium Python, Ruby & JS have been converting tag name selectors to CSS selectors, which according to w3c is apparently not quite correct.
When locating by an empty tag name, Firefox returns element not found. I think Chrome is doing the correct thing by returning "invalid selector" error.
driver.find_element(tag_name: '')