Related: https://playwright.dev/ has a built-in code generator. In *my opinion*, it's also more pleasant to work with than Selenium.
Show HN: Autotab – An AI-powered Chrome extension to create Selenium scripts
11–20 of 131 posts
Re: Show HN: Autotab – An AI-powered Chrome extension to create Selenium scripts
#12I don't get why people still use XPaths, CSS selectors or HTML IDs to identify elements, even when they are "recorded". Please please please just use my https://github.com/mherrmann/selenium-python-helium instead. It makes so much more sense.
Re: Show HN: Autotab – An AI-powered Chrome extension to create Selenium scripts
#13Re: Show HN: Autotab – An AI-powered Chrome extension to create Selenium scripts
#14I don't get why people still use XPaths, CSS selectors or HTML IDs to identify elements, even when they are "recorded". Please please please just use my https://github.com/mherrmann/selenium-python-helium instead. It makes so much more sense.
Why wouldn't you use CSS selectors? They are unambiguous, concise and most importantly, a standard. They should be the conventional way to refer to elements.
Re: Show HN: Autotab – An AI-powered Chrome extension to create Selenium scripts
#15Curious which part of this uses AI. Doesnt it just track mouse / keyboard events across the session?
Re: Show HN: Autotab – An AI-powered Chrome extension to create Selenium scripts
#16Related: https://playwright.dev/ has a built-in code generator. In *my opinion*, it's also more pleasant to work with than Selenium.
Re: Show HN: Autotab – An AI-powered Chrome extension to create Selenium scripts
#17I don't get why people still use XPaths, CSS selectors or HTML IDs to identify elements, even when they are "recorded". Please please please just use my https://github.com/mherrmann/selenium-python-helium instead. It makes so much more sense.
Re: Show HN: Autotab – An AI-powered Chrome extension to create Selenium scripts
#18I don't get why people still use XPaths, CSS selectors or HTML IDs to identify elements, even when they are "recorded". Please please please just use my https://github.com/mherrmann/selenium-python-helium instead. It makes so much more sense.
Why wouldn't you use CSS selectors? They are unambiguous, concise and most importantly, a standard. They should be the conventional way to refer to elements.
A standard for what, exactly? Selecting HTML elements? You could say the same about XPath.
Both are implementation details tightly coupled to the code instead of being driven by the “human” elements of the UI, such as the visible text, labels, etc.
Re: Show HN: Autotab – An AI-powered Chrome extension to create Selenium scripts
#19I don't get why people still use XPaths, CSS selectors or HTML IDs to identify elements, even when they are "recorded". Please please please just use my https://github.com/mherrmann/selenium-python-helium instead. It makes so much more sense.